ByteChef LogoByteChef
AutomationConnections

Troubleshooting

Common connection errors and how to fix them.

OAuth 2.0 Issues

Redirect URI Mismatch

The redirect URI registered in the third-party application (for example, Google Cloud Console or GitHub Developer Settings) does not match the one ByteChef sends.

  • Solution: When you use your own app credentials, the connection dialog shows a read-only Redirect URI field with a copy button. Copy that exact value and register it as the authorized redirect (callback) URI in the provider's settings. It ends in /callback (for example, http://127.0.0.1:5173/callback when running locally). A predefined app needs no redirect URI configuration.

Access Denied or Invalid Permissions

Your account cannot authorize ByteChef, or the service provider does not allow the requested scopes.

  • Solution: Check that your account has the required administrative rights and that the required scopes are enabled in the provider's application settings.

API Key, Bearer and Basic Auth Issues

Unauthorized or 401 Errors

The API key, token, username, or password is incorrect, expired, or revoked. The connection's credential status badge may show INVALID.

  • Solution: Check that the credentials are correct and active. To replace them, open the connection's ellipsis menu, click Edit, and click Update credentials.

To find out whether the problem is the credential or the connection setup, call the service's API directly with the same credential. Use an endpoint from the service's API documentation, and put the credential where that documentation says:

# Bearer token
curl -i -H "Authorization: Bearer <your_token>" "https://api.example.com/v1/me"

# API key in a header (the header name depends on the service)
curl -i -H "X-API-Key: <your_api_key>" "https://api.example.com/v1/me"

# Basic Auth (curl builds the Base64 header from the username and password)
curl -i -u "<username>:<password>" "https://api.example.com/v1/me"

If the service also answers 401 here, the credential itself is wrong or revoked. If it answers 200, check that you entered the credential in the right field of the connection, and that the connection belongs to the environment the workflow runs in.

Forbidden or 403 Errors

The credentials are valid, but the account is not allowed to perform the requested action.

  • Solution: Check that the API key, token, or account has the permissions (scopes) the workflow step needs.

General Connection Issues

Connection Timeouts

The request times out when the third-party service responds slowly.

  • Solution: Check the service provider's status page for outages.

Can't Delete a Connection

The Delete action is disabled while the connection is Active (used by at least one workflow).

  • Solution: Open the connection's ellipsis menu, click Disconnect from all, and then click Delete.

Wrong Environment

Connections are scoped per environment. A connection created in development is not available when a project is deployed to production.

  • Solution: Use the environment selector in the left sidebar header to view and create connections in the correct environment.

If the problem persists, contact ByteChef support or ask in the community Discord.

How is this guide?

Last updated on

On this page