Last verified: 2026-06-11

Custom GPT action returns 401

A ChatGPT error and how to fix it. The exact message, why it happens, and the steps that resolve it.

ChatGPT
Error talking to connector: Unauthorized
Status: 401
Fix:

Custom GPT actions don't read auth from the OpenAPI spec's securitySchemes. Configure it in the GPT builder:

  1. Open the GPT → Configure tab → Actions
  2. Click Authentication → pick API Key or OAuth
  3. Paste the key and republish the GPT

Guide: Custom GPTs

Still stuck?

See the full cross-platform troubleshooting index, the ChatGPT hub, or the command reference. Paste your error into the search box on the index to find related fixes.