7643 questions

9073 answers


12005 members

0 votes
9 views 1 comments


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.




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.

Please log in or register to answer this question.