Get a translate error string response
GET https://{{host}}/edge-diagnostics/v1/error-translator/requests/:requestId
Returns the status of the asynchronous Translate error string request. For operations with the SUCCESS
status, the response includes details about the error. For operations in progress, the returned object contains retryAfter
, requestId
, and link
. In this case, wait for the duration of the retryAfter
interval, then run this operation again or simply GET the link
.
Body
PARAM
Key | Datatype | Required | Description |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"completedTime": "2021-05-19T09:28:38Z",
"createdBy": "jperez",
"createdTime": "2021-05-19T09:28:24Z",
"executionStatus": "SUCCESS",
"request": {
"errorCode": "1.5e3b5b68.1621415935.409841",
"traceForwardLogs": true
},
"requestId": 345,
"result": {
"cacheKeyHostname": "example.com.",
"clientIp": {
"ip": "192.0.2.9",
"ipLocation": {
"asNumber": 9583,
"city": "BANGALORE",
"countryCode": "IN",
"regionCode": "KA"
}
},
"clientRequestMethod": "GET",
"connectingIp": {
"ip": "192.0.2.9",
"ipLocation": {
"asNumber": 9583,
"city": "BANGALORE",
"countryCode": "IN",
"regionCode": "KA"
}
},
"cpCode": 1234567,
"date": "2021-05-19T09:28:24+0000",
"edgeServerIp": {
"ip": "192.0.2.9",
"ipLocation": {
"asNumber": 9583,
"city": "BANGALORE",
"countryCode": "IN",
"regionCode": "KA"
}
},
"epochTime": 1621415934,
"grepUrl": "/edge-diagnostics/v1/grep?edgeIp=192.0.2.9&cpCode=1234567&httpStatusCode=504&userAgent=Mozilla/5.0%20(Macintosh;%20Intel%20Mac%20OS%20X%2010_15_7)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/90.0.4430.212%20Safari/537.36&start=2021-05-19T09:23:24&end=2021-05-19T09:33:24Z&clientIp=192.0.2.9&arl=/D/1682/1234567/000/example.com./ERR_READ_TIMEOUT",
"httpResponseCode": 504,
"logLines": {
"legend": {
"fObjectStatus": {
"W": "The object TTL was set in response headers."
},
"fObjectStatus2": {},
"fObjectStatus3": {},
"logType": {
"f": "(f) going forward to forward hostname",
"r": "(r) response to client"
},
"rObjectStatus": {
"W& Curl curl -X GET 'https://host/edge-diagnostics/v1/error-translator/requests/:requestId?accountSwitchKey=' -H 'Accept: application/json' ENDPOINTS |