Overview
Last updated
Was this helpful?
Was this helpful?
{
"errorMessage": "Description of the error",
"errorType": "Type of the error",
"errorCode": 422, // it is returned only when we have a clipper code for the error
"data": [] // is is returned only when the input data is invalid
}{
"errorMessage": "Invalid input data",
"errorType": "BadData",
"errorCode": 422,
"data": [
{
"type": "missing",
"loc": [
"chain_id"
],
"msg": "Field required",
"input": {
"input_amount": "18000",
"input_asset_symbol": "ETH",
"output_asset_symbol": "WBTC",
"time_in_seconds": 60
},
"url": "https://errors.pydantic.dev/2.1/v/missing"
}
]
}{
"errorMessage": "input_asset_symbol: INVALIDASSET is not supported",
"errorType": "BadData"
}{
"errorMessage": "Auth: Access is forbidden",
"errorType": "Forbidden"
}