Contents
Errors
The API uses standard HTTP status codes and returns every error in the same JSON format.
Error format
An error response has an error object with a code and a message:
404 · JSON
{
"error": {
"code": "not_found",
"message": "Meeting not found."
}
}| Field | Type | Description |
|---|---|---|
error.code | string | One of the codes below. Use it in your code to decide what to do. |
error.message | string | A description of the problem. |
The messages in these docs are examples.
Error codes
| HTTP status | Code | When it happens |
|---|---|---|
400 | invalid_request | The request is not valid: for example a required field is missing or a value has the wrong type or is out of range. |
401 | unauthorized | The Authorization header is missing, or the access token or API key is wrong, expired or revoked. |
403 | forbidden | The app or key does not have the scope this endpoint requires, or the plan or a locked setting of your account does not allow the action. |
404 | not_found | The resource does not exist. |
409 | invalid_request | An in-meeting control was called for a meeting that is not live. |
429 | rate_limited | The key has made more than 60 requests in a minute. Wait for the number of seconds in Retry-After. |
500 | internal | Something went wrong on our side. |
What to do
invalid_request: correct the request, then send it again.unauthorized: check theAuthorizationheader. If you use an access token, it may have expired: request a new one. If you use a key, check that it has not been revoked. See Authentication.forbidden: use an app or key that has the scope the endpoint requires; themessagenames it. See Scopes.not_found: check the id in the path.invalid_requestwith HTTP409: the meeting is not live. Check itsstatuswith Get a meeting first.rate_limited: wait for the seconds inRetry-After. See Rate limits.internal: if it keeps happening, contact support with the request id.
Token endpoint errors
The token endpoint (POST /v1/oauth/token) is the one exception to this format. It answers in the OAuth 2.0 form, { "error": "…", "error_description": "…" }. See Get an access token.
Request ids
Every response, including errors, has an X-Request-Id header. Quote it when you contact support@ilmeet.com.
Response header
X-Request-Id: req_EXAMPLE0001Questions about the API?
E-mail support@ilmeet.com and quote the X-Request-Id of the response you are asking about.
Contact support