For past few days, I encounter
"error"=>{"code"=>"errorAuthorization", "message"=>"Unauthorized", "description"=>"Operation Failed. The authorization data is incorrect."
We have been using https://api.aspose.cloud/v3.0/cells/convert/pdf
API. Isn’t there v4.0 API for Cells by the way?
The token is generated via https://api.aspose.cloud/connect/token
using client_credentials
grant.
I have also words and slides API in use, and they seem not to have a problem, but they are on v4.0
path.
We are using HTTP API making requests with our in-house client in Ruby.
Note: I tried the same request using Node.js SDK with the same error.
{
"response": {
"debugId": 2,
"headers": {
"date": "Mon, 20 May 2024 11:19:05 GMT",
"content-type": "application/json",
"transfer-encoding": "chunked",
"connection": "close",
"server": "nginx/1.19.9"
},
"statusCode": 401,
"body": {
"requestId": "28870a54-26a1-4941-ac0a-4f27a597962a",
"error": {
"code": "errorAuthorization",
"message": "Unauthorized",
"description": "Operation Failed. The authorization data is incorrect.",
"dateTime": "2024-05-20T11:19:05.6646297Z",
"innerError": null
}
}
}
}
type or paste code here