Airtable · api · fg-0425

Airtable API returns 401 for an integration that still authenticates with a legacy API key

If you see 401 Unauthorized on every request made with a key that starts with key, the cause and the fix for Airtable are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
401 Unauthorized on every request made with a key that starts with keyIntegration that ran for years stopped working in February 2024airtable.js still asks for an apiKey option, so old keys look valid in config
Cause
Airtable finished retiring user API keys on 2024-02-01, and those keys can no longer call the API. The airtable.js option kept the name apiKey, but it now expects a personal access token or an OAuth token.
Fix
Create a personal access token with the scopes and bases the integration needs and put it where the old key was. Use OAuth for integrations that act for other users.
Apply
Airtable.configure({ apiKey: process.env.AIRTABLE_PAT }); // token created at https://airtable.com/create/tokens
Affected
Airtable Web API, user API keys, since 2024-02-01; airtable.js 0.12.x
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun