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
Currently authorization header is added using
call.add_field('Authorization: Bearer', access_token);
This gives error sometimes with message suggesting authorization header should be of type Bearer when the header is not added correctly to the HTTP request
Using header name as 'Authorization' and passing the value 'Bearer <access_token>' works for me as following:-
call.add_field('Authorization', "Bearer #{access_token}");
The text was updated successfully, but these errors were encountered:
Currently authorization header is added using
call.add_field('Authorization: Bearer', access_token);
This gives error sometimes with message suggesting authorization header should be of type Bearer when the header is not added correctly to the HTTP request
Using header name as 'Authorization' and passing the value 'Bearer <access_token>' works for me as following:-
call.add_field('Authorization', "Bearer #{access_token}");
The text was updated successfully, but these errors were encountered: