ERR value is not an integer or out of range

Hello! I have set up a OAuth password flow, and I can see the token call logged on the API server and sent the response back. But the call fails to initialize with the below error

ERR value is not an integer or out of range

Any help on how to resolve this is much appreciated.

Can you provide screenshot of your API setting in Bubble (both auth part and call)
And link to API doc?

If you use Authentication from Bubble, you should not have to put an Autheorization Header (in both shared and call itself). Actually, This is like if you are doing 3 authorization header! (One from the authorization of Bubble, one in your shared header and one in your API Call)

1 Like

Jici, Thanks for looking into this.
I removed the ‘Authorization’ call from shared header and the API call, and still am getting the same error as ‘ERR value is not an integer or out of range’. In the API log, I can still see the first call to createprofiletoken, However I don’t see the actual API call.