<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Error -13 when using nrfCloud location services from Thingy91x</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126787/error--13-when-using-nrfcloud-location-services-from-thingy91x</link><description>I am using a Thingy91x, with some additional sensors attached via qwiic cable. 
 Initially to test the Thingy91x I inserted the SIM and scanned the QR code on the Thingy91x to get the device initialised in nrfCloud. The hello.nrfcloud page loaded in a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Feb 2026 14:33:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126787/error--13-when-using-nrfcloud-location-services-from-thingy91x" /><item><title>RE: Error -13 when using nrfCloud location services from Thingy91x</title><link>https://devzone.nordicsemi.com/thread/560928?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2026 14:33:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39fe287e-1fd4-408c-a80c-e74b4b7c537a</guid><dc:creator>cjhorne</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;I managed to get it working in the end without having to run the script and install my own certs.&lt;/p&gt;
&lt;p&gt;I knew that the Thingy91x device must registered ok in nrfcloud, as the default hello.nrfcloud firmware initially installed on the device worked.&amp;nbsp; I also knew that I had not overwritten the modem firmware when I had flashed my own application firmware to the device, so I knew the certs should still be there.&amp;nbsp; It was a matter of working out the correct config settings to get the correct cert used for authentication.&amp;nbsp; Eventually after a lot of trial and error I got there, and now it&amp;#39;s working perfectly.&lt;/p&gt;
&lt;p&gt;Thanks for your help though&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error -13 when using nrfCloud location services from Thingy91x</title><link>https://devzone.nordicsemi.com/thread/560640?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 11:27:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:871312b3-c450-4c96-8468-de413afd40ff</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;In that case, the issue becomes clearer. This sample uses security tag 16842753, and you must use the device_credentials_installer script. The credentials used in the hello.nrfcloud firmware will not work.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Benjamin&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error -13 when using nrfCloud location services from Thingy91x</title><link>https://devzone.nordicsemi.com/thread/560634?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 11:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bba342c4-c129-4d65-b069-7bc8dca77ca2</guid><dc:creator>cjhorne</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;We have actually based our code on the nrf_cloud_coap_cell_location application, but heavily customised.&amp;nbsp; I included the security tag information from the prj.conf file in my original post.&amp;nbsp; Are we able to use the hello.nrfcloud security tag?&amp;nbsp; Below is a log from where we have tried to use GNSS (not A-GNSS) with a fallback to cellular.&amp;nbsp; If we try A-GNSS we get the same error -13 when it attempts to download the A-GNSS files.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;[00:00:27.171,661] &amp;lt;inf&amp;gt; location: Method specific timeout expired&lt;br /&gt;[00:00:27.178,955] &amp;lt;inf&amp;gt; location: Location retrieval failed using &amp;#39;GNSS&amp;#39;, trying with &amp;#39;Cellular&amp;#39; next&lt;br /&gt;[00:00:27.189,025] &amp;lt;inf&amp;gt; nrf_cloud_coap_cell_location_sample: Entering Func: location_event_handler&lt;br /&gt;[00:00:27.198,516] &amp;lt;inf&amp;gt; nrf_cloud_coap_cell_location_sample: Location fallback: Timeout -&amp;gt; Cellular&lt;br /&gt;%NCELLMEAS: 0,&amp;quot;01991102&amp;quot;,&amp;quot;26201&amp;quot;,&amp;quot;05D8&amp;quot;,130,1300,120,38,10,28660,6400,212,57,21,24,6400,477,55,16,24,6400,149,51,9,24,1444,335,43,20,33,20119&lt;br /&gt;[00:00:29.600,280] &amp;lt;inf&amp;gt; nrf_cloud_coap_cell_location_sample: Entering Func: lte_event_handler&lt;br /&gt;%NCELLMEAS: 0,&amp;quot;01991102&amp;quot;,&amp;quot;26201&amp;quot;,&amp;quot;05D8&amp;quot;,130,20119,1300,120,37,9,28984,1,0,&amp;quot;019A9301&amp;quot;,&amp;quot;26201&amp;quot;,&amp;quot;05D8&amp;quot;,65535,0,1300,213,40,13,28984,0,0,&amp;quot;019A9300&amp;quot;,&amp;quot;26201&amp;quot;,&amp;quot;05D8&amp;quot;,65535,0,1300,215,31,-4,28984,0,0,&amp;quot;01991105&amp;quot;,&amp;quot;26201&amp;quot;,&amp;quot;05D8&amp;quot;,65535,0,6400,212,57,21,29041,0,0,&amp;quot;019A9310&amp;quot;,&amp;quot;26201&amp;quot;,&amp;quot;05D8&amp;quot;,65535,0,6400,477,54,14,29041,0,0&lt;br /&gt;[00:00:29.964,752] &amp;lt;inf&amp;gt; nrf_cloud_coap_cell_location_sample: Entering Func: lte_event_handler&lt;br /&gt;[00:00:29.981,048] &amp;lt;err&amp;gt; location: Failed to acquire location using cloud location, error: -13&lt;br /&gt;[00:00:29.990,631] &amp;lt;err&amp;gt; location: Location acquisition failed and fallbacks are also done&lt;br /&gt;[00:00:29.999,572] &amp;lt;inf&amp;gt; nrf_cloud_coap_cell_location_sample: Entering Func: location_event_handler&lt;br /&gt;[00:00:30.009,307] &amp;lt;err&amp;gt; nrf_cloud_coap_cell_location_sample: Location request failed&lt;/p&gt;
&lt;p&gt;Hope this is usefull.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error -13 when using nrfCloud location services from Thingy91x</title><link>https://devzone.nordicsemi.com/thread/560630?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 10:23:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c41d4020-5ceb-4a77-b1e0-d5af49a79436</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;Sorry for the delay. You are correct that the device stores credentials in the modem. Other applications, such as nrf_cloud_coap_cell_location, use a different security tag than the hello.nrfcloud firmware. However, if your firmware is based on hello.nrfcloud, the security tag should remain the same. What changes did you make to your firmware?&lt;/p&gt;
&lt;p&gt;With the new firmware, do you see any communication with nRF Cloud at all, or is only the A-GNSS failing? If possible, please provide the full log and modem traces.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error -13 when using nrfCloud location services from Thingy91x</title><link>https://devzone.nordicsemi.com/thread/560004?ContentTypeID=1</link><pubDate>Fri, 30 Jan 2026 12:44:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3259e559-edb7-4b1b-8320-6937d120d862</guid><dc:creator>cjhorne</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;Thanks for replying.&lt;/p&gt;
&lt;p&gt;Isn&amp;#39;t the device already onboarded though as part of the scan of the QR code on the Thingy91x, and confirmation that the device is showing on the hello.nrfcloud page in the browser.&amp;nbsp; It must be onboarded with coap enabled as the oob firmware was succesfully uploading data to nrfcloud via coap, which was displayed in the hello.nrfcloud page.&amp;nbsp; I&amp;#39;m trying to connect to nrfCloud as the same onboarded device.&amp;nbsp; My understanding is that certs and keys are held in the modem secure storage, which i am not touching when flashing the custom firmware to the nrf9151.&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error -13 when using nrfCloud location services from Thingy91x</title><link>https://devzone.nordicsemi.com/thread/559999?ContentTypeID=1</link><pubDate>Fri, 30 Jan 2026 12:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04398f98-bf3c-4b85-8e47-95480ff87899</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;The error you get is -EACCES, meaning the device does not have a valid nRF Cloud CoAP connection.&lt;/p&gt;
&lt;p&gt;In your custom firmware, are you able to see any communication to nRF Cloud at all? Please try to follow&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/APIs/CoAP/CoAPGuide.html"&gt;this&lt;/a&gt;&amp;nbsp;guide. Note that you need to r&lt;span&gt;un the &lt;/span&gt;&lt;code&gt;device_credentials_installer.py&lt;/code&gt;&lt;span&gt; script with the &lt;/span&gt;&lt;code&gt;--coap&lt;/code&gt;&lt;span&gt; argument.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>