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
After debugging an incident similar to the aforementioned issues I came across f72d2fc which started mutating the params Hash passed by the used in request method (implicitly via the requests classes.
This piece of code will discard the :headers key from the params hash provided by the user on the first request.
In case of a token renewal, for example, the request will the be retried without the headers it used before. Instead it will be dispatched with the default headers (I believe this is why people in the other issues mention wrong Content-Type: application/json).
The text was updated successfully, but these errors were encountered:
This issue seems related to #502 and #501.
After debugging an incident similar to the aforementioned issues I came across f72d2fc which started mutating the
params
Hash passed by the used inrequest
method (implicitly via therequests
classes.This piece of code will discard the
:headers
key from theparams
hash provided by the user on the first request.In case of a token renewal, for example, the request will the be retried without the headers it used before. Instead it will be dispatched with the default headers (I believe this is why people in the other issues mention wrong Content-Type: application/json).
The text was updated successfully, but these errors were encountered: