<?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>Problem With nRF9151DK running the Location sample app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127294/problem-with-nrf9151dk-running-the-location-sample-app</link><description>I am on the learning curve of nRF9151 and LTE/GNSS. 
 Trying to build and run the sample app under nrf/samples/nrf9160/location 
 The errors Im getting are 
 [00:11:23.476,623] &amp;lt;err&amp;gt; nrf_cloud_codec_internal: REST error msg: Auth token is malformed. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Mar 2026 10:50:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127294/problem-with-nrf9151dk-running-the-location-sample-app" /><item><title>RE: Problem With nRF9151DK running the Location sample app</title><link>https://devzone.nordicsemi.com/thread/562801?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2026 10:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcc289d4-7d57-48a9-a6b6-023369926034</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;And regarding the links, we will have a note of it. Here are the working link for&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/APIs/REST/RESTOverview.html#authentication"&gt;nRF Cloud REST API&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/nrf_cloud.html"&gt;nRF Cloud&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem With nRF9151DK running the Location sample app</title><link>https://devzone.nordicsemi.com/thread/562799?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2026 10:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86d8488b-517f-4269-95b7-7b648384a7d8</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The errors you&amp;#39;re seeing indicate an authentication problem with nRF Cloud and its most likely that&amp;nbsp;your device&amp;#39;s credentials may not be properly registered with nRF Cloud. Can you try onboarding the device using the&amp;nbsp;&lt;a href="https://github.com/nRFCloud/utils"&gt;nRF Cloud Utils&lt;/a&gt;&amp;nbsp;as mentioned in the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-cloud/page/GettingStarted.html#local-onboarding"&gt;local onboarding section&lt;/a&gt;. After doing this, rebuild and run the location sample.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem With nRF9151DK running the Location sample app</title><link>https://devzone.nordicsemi.com/thread/562697?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2026 05:50:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:603fd013-8ebc-47bf-bc10-8cc707fa5c1d</guid><dc:creator>Nishant Gaurav</dc:creator><description>&lt;p&gt;It seems you are facing a token authentication issue. How did you provision your DK to nRF Cloud? If you used an &lt;b data-path-to-node="4" data-index-in-node="114"&gt;AT Token&lt;/b&gt; or a specific provisioning script, the device might be trying to authenticate using its IMEI while the Cloud expects its UUID.&lt;/p&gt;
&lt;p&gt;Try adding these specific lines to your &lt;code data-path-to-node="5" data-index-in-node="40"&gt;prj.conf&lt;/code&gt; file. This forces the device to use its internal UUID as the Client ID, which often resolves the &amp;#39;Malformed Token&amp;#39; error:&lt;/p&gt;
&lt;p&gt;# Use the internal UUID instead of IMEI for identification&lt;br /&gt;CONFIG_NRF_CLOUD_CLIENT_ID_SRC_INTERNAL_UUID=y&lt;br /&gt;CONFIG_NRF_CLOUD_CLIENT_ID_PREFIX=&amp;quot;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>