- 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