Onboard a devices

I tried to switch to OAT. Now I use new API

"api.nrfcloud.com/.../long-range/devices/bulk" with OAT bearer token for devices creation

instead of old API: "">api.nrfcloud.com/.../devices" .

I send POST with body format: 

id + ",,,APP|MODEM,\"" + certificate + "\"" 

like before. But I get 400 Bad Request. What can be a problem?

 

Related