Troubleshooting
If something went wrong while sending API requests and you need help, contact technical support.
To help the technical support team resolve your issue, use the X-Client-Request-ID
header when sending HTTP requests.
x-client-request-id
is a unique request ID. We recommend using a UUID. Send this ID to the technical support team to help us find a specific request in the system and assist you.
You can generate a UUID online or via the library for the programming language you use.
Examples
Example of adding a header using cURL:
$ curl -X POST \
-H "X-Client-Request-ID: fa18fa9b-176d-4ae0-92b8-bd7897f7c00c" \
-H "Authorization: Bearer ${IAM_TOKEN}" \
-d "{\"folder_id\": \"${FOLDER_ID}\", \"text\": \"${TEXT}\"}" \
"https://translate.api.cloud.yandex.net/translate/v2/detect"