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
When the content type header is not present in the request specifying it is JSON, the body is not properly parsed and it will fail with different errors depending on the endpoint called.
Usually with a 500 error thrown by lightning internally, which is really misleading.
Being a rest client would be nice to do more validation on the parameters (returning 400 or 422 when mandatory parameters are missing) and 415 when the content type is not JSON as expected.
The text was updated successfully, but these errors were encountered:
See #79 for more context.
When the content type header is not present in the request specifying it is JSON, the body is not properly parsed and it will fail with different errors depending on the endpoint called.
Usually with a 500 error thrown by lightning internally, which is really misleading.
Being a rest client would be nice to do more validation on the parameters (returning 400 or 422 when mandatory parameters are missing) and 415 when the content type is not JSON as expected.
The text was updated successfully, but these errors were encountered: