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
Session.sendOauthRequest supports parsing a response with url.ParseQuery if it looks like urlencoded, but then Result.DecodeField expects the values to already be of the correct type, which won't be the case for anything but strings.
I ran into this with App.ExchangeToken, where the response includes an int "expires". It always ends up with a 0 for the expiration and the error field 'expires' value is string, not a number.
The text was updated successfully, but these errors were encountered:
Session.sendOauthRequest
supports parsing a response withurl.ParseQuery
if it looks like urlencoded, but thenResult.DecodeField
expects the values to already be of the correct type, which won't be the case for anything but strings.I ran into this with
App.ExchangeToken
, where the response includes an int"expires"
. It always ends up with a0
for the expiration and the errorfield 'expires' value is string, not a number.
The text was updated successfully, but these errors were encountered: