Help

Invalid request when accessing v1/authorize

993 1
cancel
Showing results for 
Search instead for 
Did you mean: 
bardeenai
4 - Data Explorer
4 - Data Explorer

Hey Folks,

 

I am getting the following error when trying to access `v1/authorize` endpoint:

```

{
"error": "invalid_request",
"error_description": "\"code_challenge\" must be a valid url-encoding of the the sha256 of the code_verifier variable generated (length 43, alphanumeric characters, \"_\", or \"-\"",
"state": "airtablebardello"
}

```

The value of the code_challenge that I am sending to the server in that particular instance is "

YjgwOGJjYTk5MGJjZTdjY2FjYjdkYmJjZDI1YzkxMGI5MDEwZDUxMzdlYjdhYmUwZDI0NWI0MWM5ODAzYjJiNw

"

Here is the full request modulo the client_id and redirect_uri: 

https://airtable.com/oauth2/v1/authorize?code_challenge_method=S256&state=airtablebardello&code_chal...


Spent quite a while but still couldn't figure out what am I doing wrong :/. I would appreciate any help.

1 Reply 1
royalknight
4 - Data Explorer
4 - Data Explorer

Not gonna try to implement unless airtable team create a video on youtube on how to implement it.