Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Re: Problems generating OAuth Token

429 0
cancel
Showing results for 
Search instead for 
Did you mean: 
benmadine
4 - Data Explorer
4 - Data Explorer

Hi,

I am trying to generate an OAuth token via servicenow and I am running into some issues. When trying to get my OAuth token I am faced with the follow error:

"error=invalid_request&error_description="state"+parameter+is+invalid.+Note+that+it+is+required.&state=-68948287"

I am reading through the documentation of OAuth reference just now (OAuth reference - Airtable Web API) and see the state parameter should follow certain rules and I believe I am not breaking them with the below state value:

'Jt8WzfnT7dSbXn2xL1dY.mJq3-UvN4Kz0oGcRbH6pEjViI9Xy_OgZAkCs5lPuehr' 

I have created a rest message and application registry record for this integration and using the 'Get OAuth Token' ui action withing servicenow to do this. If anyone can provide any help or has integrated sn with airtable using oath tokens before, that would be appreciated.

 

Thanks

2 Replies 2
RTCommCo
5 - Automation Enthusiast
5 - Automation Enthusiast

I am getting the exact same error (different # for "state") from another application (Matillion ETL) while trying to authorize an OAuth app.


Unito
5 - Automation Enthusiast
5 - Automation Enthusiast

@benmadine here's a guide on how to create an OAuth token in ServiceNow. If it helps, you could also try syncing ServiceNow and Airtable with Unito.