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
Describe the bug
If the makeRequest function requires a refresh to occur, it will call client.Do on the same http.Request object twice. Each call will consume the body of teh request, so the second request will have an invalid empty body.
Expected behavior
The request should be identical before and after the refresh.
Additional Details
On receiving end, error shows as:
Error validating request" error="request body has an error: reading failed: unexpected EOF
The text was updated successfully, but these errors were encountered:
Describe the bug
If the
makeRequest
function requires a refresh to occur, it will callclient.Do
on the samehttp.Request
object twice. Each call will consume the body of teh request, so the second request will have an invalid empty body.Expected behavior
The request should be identical before and after the refresh.
Additional Details
On receiving end, error shows as:
The text was updated successfully, but these errors were encountered: