You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Fleet API documentation describes a variety of HTTP response codes which are helpful for building error handling logic. But I sometimes get a 500 response when a different code would be more appropriate.
500: {"response":null,"error":"vehicle unavailable: vehicle is offline or asleep","error_description":""}
This should be 408.
500: {"response":null,"error":"vehicle rejected request: your public key has not been paired with the vehicle","error_description":""}
The Fleet API documentation describes a variety of HTTP response codes which are helpful for building error handling logic. But I sometimes get a 500 response when a different code would be more appropriate.
This should be 408.
This seems closer to 401 or 412.
OK, 500 makes sense here.
The text was updated successfully, but these errors were encountered: