10512 questions

12517 answers

19445 comments

22043 members

0 votes
56 views 2 comments
by

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

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
Hello,

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

Regards.
by
I did, thanks.