Hi,
I am using Aspose Cloud API.
I can successfully generate an access token using:
/connect/token
However, CAD API calls return 401 Unauthorized:
GET https://api.aspose.cloud/v3.0/cad/formats
Response:
401 Unauthorized
{
“error”: {
“code”: “errorAuthorization”,
“message”: “Unauthorized”,
“description”: “Operation Failed. The authorization data is incorrect.”
}
}
Request ID:
2b1cd861b38c2b7f5524ba9860a9a54b
It seems my account/application does not have access to Aspose.CAD Cloud API.
Please enable Aspose.CAD Cloud API access (CAD scope) for my account.
Application:
- App Name: cad_converter
- Client ID: df186255-ae77-411c-9d6c-2ec7df003b23
Thanks.
@DineshkumarKonduru
I see that you can obtain an access token, but calls to the CAD endpoints return a 401 Unauthorized response.
The error message you posted indicates that the authorization data is incorrect, which often happens when the CAD scope has not been enabled for the client ID you are using.
Next steps
- Verify that the CAD scope is enabled for your application (
cad_converter with client ID df186255‑ae77‑411c‑9d6c‑2ec7df003b23). This can be checked in the Aspose Cloud dashboard or by requesting the change in the support forum.
- After the CAD scope is enabled, generate a new access token and retry the request (e.g., `GET ).
The 401 response you received matches the typical “authorization data is incorrect” error shown in the request details [1].
Hi,
Thanks for the response.
Please enable CAD scope (Aspose.CAD Cloud API access) for my application:
App Name: cad_converter
Client ID: df186255-ae77-411c-9d6c-2ec7df003b23
I will generate a new token after the scope is enabled and test again.
Thanks.
Hi,
Please enable Aspose.CAD Cloud API access (CAD scope) for my application.
App Name: cad_converter
Client ID: df186255-ae77-411c-9d6c-2ec7df003b23
I am still getting 401 Unauthorized for:
GET https://api.aspose.cloud/v3.0/cad/formats
Please enable the CAD scope for my client ID or let me know if a specific plan is required.
Thanks.