Unable to send downlink message
-
Hello,
I’m trying to send a downlink message to our device.I’m calling the following endpoint:
https://api.scs.iot.telekom.com/m2m/endpoints/IMEI:<our_device_serial_number>/downlinkMsg/0/databut I receive an HTTP “403 Forbidden” status response, with body:
{
“msg”: “Unauthorized”,
“code”: 1001
}I added an “Authorization” header with a Basic format value, which seems correct because a call to the end point “https://api.scs.iot.telekom.com/rest/device” works.
The application “Callback URL” is configured.
Could you please help me finding what’s missing or wrong ?
-
Hello Mikael,
did you register your application url with the API? You can find more details in the docs here https://docs.iotcreators.com/reference/testinput . If you do not register your api url with the API (not just from your iotcreators project page), you will not be able to use many of the functions of the API.
If you don’t have a custom api, you can mock one with beeceptor (for example), you can find further informations here: https://docs.iotcreators.com/docs/5-forward-message-to-applicationThank you,
BR
Marco -
@MarcoPeli Thank you, this was the problem.