iotcreators.com web
    • Login
    • Search
    • forum.iotcreators.com
    • docs.iotcreators.com
    • Tags
    • Popular
    • Recent
    • Register

    Unable to send downlink message

    iotcreators.com portal & API
    downlink authentication error
    2
    3
    127
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mikael Guenais last edited by

      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/data

      but 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 ?

      1 Reply Last reply Reply Quote 0
      • M
        MarcoPeli iotcreators.com team last edited by MarcoPeli

        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-application

        Thank you,
        BR
        Marco

        M 1 Reply Last reply Reply Quote 0
        • M
          Mikael Guenais @MarcoPeli last edited by

          @MarcoPeli Thank you, this was the problem. 😉

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post