This message was deleted.
# replication-troubleshooting
s
This message was deleted.
k
It sounds like the token request is reaching the server but the credentials aren’t valid from the server’s perspective. A few checks based on our docs: - Make sure you’re using a real application’s client_id and client_secret, not placeholders. Create them in the UI under Settings → Account → Applications, then use those values in the request. [[Configuring API access](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access)] - For Self-Managed, the correct endpoint is your webapp URL + /api/v1/applications/token. For a default local abctl install, that’s typically http://localhost:8000 (not 8080). Example: curl -X POST http://localhost:8000/api/v1/applications/token -H 'Content-Type: application/json' -d '{"client_id":"<id>","client_secret":"<secret>"}' [[Configuring API access](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access); [abctl install/manage](https://docs.airbyte.com/platform/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances)] - If you installed with abctl, you can retrieve the instance credentials with: abctl local credentials Then use the client-id and client-secret from that output. [[Authentication](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication); [abctl install/manage](https://docs.airbyte.com/platform/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances)] - If you customized ports/ingress, ensure you’re calling the same host/port you use to access the Airbyte UI. Some users reported 400/401 “Invalid client id or token” when hitting a different port or service than the UI. [[Issue 65595](https://github.com/airbytehq/airbyte/issues/65595)] If after switching to the correct UI URL (likely 8000) and valid credentials you still get 400, please share whether your Applications page shows a client_id and confirm the exact URL you use to access the UI, then use that base URL for the token call. [[Configuring API access](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access); [Issue 65595](https://github.com/airbytehq/airbyte/issues/65595)]