nrfCloud Rest API provisioning is not working

Hello

I have a custom board based on nrf9160 and I cannot claim and make REST API and JWT auth work for it.

These are the steps I followed

1. https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3%2B/README.md#create-ca-cert

2. https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3%2B/README.md#device-credentials-installer

3. https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3%2B/README.md#nrf-cloud-device-onboarding

4. https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3%2B/README.md#gather-attestation-tokens

5. https://github.com/nRFCloud/utils/blob/master/python/modem-firmware-1.3%2B/README.md#claim-devices

Everything is successful apart from 5. which I report the Output

$ python3 ./claim_devices.py -v --provisioning_tags "nrf-cloud-onboarding" --api_key $MY_KEY
OS detect: Linux=True, MacOS=False, Windows=False


Provisioning API URL: https://api.provisioning.nrfcloud.com/v1/
1. Claiming 350457791967688, 50485839-3435-4caf-80d7-1d049684e467, 2024-11-26T17:16:39.152310+00:00, 2dn3hQFQUEhYOTQ1TK-A1x0EloTkZwNQPpJvddMbSFKzlIwT9ai7blDTMmHNBxvjUolijpM73NcO.0oRDoQEmoQRBIfZYQOpXius-sP2w5pr2wBHwhxIhStJzamC8zIPE6rTAaDpTuFnMkI5t1CNdFsIP0vbl5h1X_GjtUbnSWQFDJddAq1Y, with tags: "nrf-cloud-onboarding"
Claim payload:
"2dn3hQFQUEhYOTQ1TK-A1x0EloTkZwNQPpJvddMbSFKzlIwT9ai7blDTMmHNBxvjUolijpM73NcO.0oRDoQEmoQRBIfZYQOpXius-sP2w5pr2wBHwhxIhStJzamC8zIPE6rTAaDpTuFnMkI5t1CNdFsIP0vbl5h1X_GjtUbnSWQFDJddAq1Y","nrf-cloud-onboarding"

--> Accepted; claimed 0:
    []

Done. 0 of 1 devices claimed.

As far as I know to make it work I could also go to nrfCloud->Security Services -> Claimed Device enter the attestation token and so on.

However when I enter the attestation token I get "

Error claiming device: Device is not supported.

"

What am I doing wrong?

Thank you very much

Alessandro

Related