FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
198 views 2 comments
by anonymous

Hey!

I am trying to set an update action to upload a backup to a router using this request:

curl -X POST "https://rms.teltonika-networks.com/api/devices/updates/set" -H "accept: application/json" -H "Authorization: Bearer [omitted" -H "Content-Type: application/json" -d "{\"data\":[{\"id\":[omitted],\"action\":\"upload_backup\",\"file_id\":[omitted],\"offline\":true,\"keep_settings\":false}]}"


This is what I receive:

{ "success": false, "errors": [ { "code": "FORBIDDEN", "message": "Forbidden." } ] }

Please advise.

Thanks!

Carsten

by anonymous

It seems it started working now.

However, when I try to add a update to a device that has not yet registered to RMS, I am getting this response:

{
  "success": false,
  "errors": [
    {
      "code": "BAD_REQUEST",
      "message": "File '[omitted].tar.gz' is incompatible with device's (CarstenTest) model or firmware version."
    }
  ]
}

I realize that RMS does at that time not know if the configuration will indeed fit for the device I am trying to add it to. It would be super super helpful, if RMS could detect the device model by the serial number upon adding it, so adding an update becomes possible.

We are dealing with scaling up provisioning thousands of Teltonika RUT240, and we really need a good way to scale this. This option would help us massively.

1 Answer

0 votes
by anonymous
Hello,

I believe we have received your query about this in our HelpDesk system and it was solved. Can you confirm that?

Regards.
by anonymous
I did, thanks.