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
We were getting a Faraday::BadRequestError: the server responded with status 400 error when trying to create a user. Since the exception is being thrown, we don't have an easy way to see the response body which would give us details on what we're doing wrong.
Is there a way to get an error's response body when making an API call? Maybe have an option to remove the raise_errors in the Faraday connection?
The text was updated successfully, but these errors were encountered:
We were getting a
Faraday::BadRequestError: the server responded with status 400
error when trying to create a user. Since the exception is being thrown, we don't have an easy way to see the response body which would give us details on what we're doing wrong.Is there a way to get an error's response body when making an API call? Maybe have an option to remove the
raise_errors
in the Faraday connection?The text was updated successfully, but these errors were encountered: