Hello, I keep encountering a token error (code 451: Your request is invalid or could not be processed by the service) when trying to connect the local version of n8n to Airtable in order to create a record. I have already tried multiple solutions and correctly entered the scopes and access settings in Airtable’s Personal Access Tokens configuration.
At this point, I’m not sure what else to do. Can anyone help me with my problem?
If you change the base pull down to “From List”, do you see some of your bases? The same for “Table”. This is one way to know you have a good connection to Airtable.
Worth giving a try as well… Since in Airtable api docs theres no 451 error (they claim 4xx errors related to users), and neither in n8n lol… so indeed strange.
I suggest to delete the PAToken from Airtable, delete the credentials in n8n, stop/start n8n.
Then go in Airtable and be ssure you follow this rules.:
1. Token, you use the token string that was displayed immediately after you created it? (It is only shown once.)
2. Scopes, id you explicitly check the boxes for all three required scopes: data.records:read, data.records:write, and schema.bases:read?
3. Resource/Access Link (CRITICAL) Under the Access section of your PAT, did you explicitly select the Workspace(s) or Base(s) that n8n needs to connect to?
Then go back to n8n, the credentials tab , create new Airtable credentials, use that newly copied token, connect it, it should be green as successful connection.
Then go and open a workflow and add a new node and set up with the new credentials.
If even this is not working, be sure your PC can reach external services with a ping or curl command to any address like Google.
Thanks for your advice. I’ve tried all these things many times. Now I’ve come to the conclusion that the problem is probably with the computer… like another program that’s taking up local space or antivirus, etc. I don’t know exactly. I’m looking into other things. I hope I’ll get a result.
@morabi_amin , I think you’re quite right to say that something external to n8n is in play. Le’t’s see what happens outside of n8n. On the machine where your local n8n lives, try this for me. Are you seeing any error messages?
If your other services are working, then it means that definitly you are doing something wrong on the Airtable side when you are configuring the credentials.