May 09, 2023 02:34 AM
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
Sep 22, 2023 08:49 AM
I am getting the exact same error (different # for "state") from another application (Matillion ETL) while trying to authorize an OAuth app.
Jun 04, 2024 12:17 PM
@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.