Device Update (PUT) failure using API (axios) and/or SwaggerUI

Device Update (PUT) failure using API (axios) and/or SwaggerUI

Hello, 

we face a problem trying to update a specified device field using the API. 
When we try to update the routeRefs using (PUT) /device/{deviceRef} with the new routeRefs json 
  1. {
  2.   "routeRefs": [ "XXXXX", "YYYYY" ]
  3. }
server responds with "Request failed with status code 500". 

Tried using JavaScript (axios), as well as from the SwaggerUI environment, with the same failure. 

What we try is, having fetched the device ref using the devEUI (successfully), to obtain the routeRefs using the device ref  (successfully) and then PUT the my new routeRefs (unsuccessfully). 

Is this feature (device update) not available in Community servers?

Thank you in advance.