Provisioning to cloud returns 404

Hi Team,

We are using nRF9160

We are provisioning our devices to nRF cloud for more then a year now with a script that create CSV and upload it to cloud during manufacturing.

The past week we noticed that devices are failing to provision to cloud and we get "!!! Failed to upload certificate: Http status error [404]"

Looking at https://api.nrfcloud.com/v1/#tag/IP-Devices/operation/OnboardDevices I don't see any change.

Have you changed something in the provisioning process?

  • Hi,

    I think you should it sounds like the 404 error you are encountering indicates that the endpoint you are using for provisioning may no longer be valid or there could be a temporary issue with the nRF Cloud API. Although you mentioned there were no documented changes in the API it is possible there were updates or deprecations not yet reflected in the documentation.

    First verify that your API endpoint URLs are correct and match those specified in the [nRF Cloud API documentation](https://api.nrfcloud.com/v1). Also check the status and availability of the nRF Cloud services to see if there have been any recent disruptions. If everything seems correct it might be helpful to reach out to Nordic Semiconductor support to confirm if any backend changes were made recently.

    Thanks

  • The API is the same, we didn't change it
    It just stop working from about a week ago so this is why I ask Nordic

  • Hello Ofir. While there have been some enhancements to that endpoint over the last year, none of them should have affected your script intentionally. There was Bug Fix that just went out on 2024-08-27 which is the only recent change. Does that seem to line up with when the errors started occurring? Can you check your nRF Cloud account and see if any of those errored devices are appearing on your device list? Is it possible any of these devices had already been onboarded using this endpoint and are now being re-onboarded? (this use case is still supported, though not necessarily recommended)

    Thanks

  • Hi Grayson,

    The last day we succeeded to upload a device was 1.9.24, after that day no new devices were succeeded.

    The device isn't provisioned to cloud, it is a new device.

    *Note that if we do provision to a device that is already registered, it will succeed and work fine.

    I just now took my device, deleted it from the cloud and tried to provision it again with no success, getting http status 404

  • Hi Grayson,

    We need to solve this ASAP

    Do you have any update?

Related