api_host_moved
- HTTP status
- 410 Gone
- Returned by
- Sign-in and authentication
What it means
The request went to the retired shared host api.kweko.uz. Each workspace now has the API on its own address, like amoCRM: https://<your-workspace>.kweko.uz/api/v1. OAuth moved to the account hub, https://app.kweko.uz/oauth/token.
Typical causes
- An integration still uses the old base URL
https://api.kweko.uz/v1. - An app still exchanges or refreshes tokens at
https://api.kweko.uz/oauth/token.
How to fix it
- Use the address in
api_base. With a valid key or token it is your workspace's exact base; without one it is the pattern. - Apps: take
api_basefrom every token response and store it with the tokens.
Message
English text, as sent with Accept-Language: en. With ru or uz the API sends the translation.
- OAuth is on the account hub now: ….
RU: OAuth теперь в центре аккаунта: ….
UZ: OAuth endi akkaunt markazida: ….
Example response
Response
HTTP/1.1 410 Gone
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55
{
"error": {
"code": "api_host_moved",
"message": "OAuth is on the account hub now: ….",
"request_id": "req_4f2a9c1e0b7d3a55",
"docs_url": "https://docs.kweko.uz/errors/api_host_moved",
"api_base": "https://acme.kweko.uz/api/v1"
}
}