A 401 Unauthorized usually means the server did not accept the credentials as sent. In n8n, a common source of confusion is whether the API expects Authorization: Bearer TOKEN, a custom header such as X-API-Key: TOKEN, Basic Auth, OAuth2, or something else.
This helper does not send the token anywhere. It only shows the header format in your browser. The preview masks the secret.
Choose the pattern required by the API documentation.
Header preview will appear here.
Authorization: Bearer <token>. In n8n's Bearer credential field, paste the token itself rather than duplicating the word Bearer.X-API-Key or another vendor-defined header.Bearer TOKEN, but only the token was sent.Bearer, causing a duplicated scheme.X-API-Key, but the key was placed in Authorization.401 generally means authentication was not accepted. 403 generally means the server understood who you are but that identity is not allowed to perform the requested action. APIs differ, so always verify the provider's documentation and error body.
Optional anonymous feedback. The counter stores only a timestamp and fixed event name; your token or API key is never included.