Free Support Forum - aspose.cloud

Render and Convert HTML Pages using Aspose.HTML REST API throws Authorization error

Hello, I am unable to authorize requests in Aspose.HTML. I am getting the message, “Auth Error Error: Not Found”. However, using the same Client Id and Client Secret, I can successfully authorize requests in Aspose.Words. I have tried regenerating my client credentials, as well as creating another app in my dashboard. Any suggestions to what else I should try? Thank you.

@yappy.yap

We are sorry for the inconvenience. We noticed the issue and logged a ticket HTMLCLOUD-685 to fix it. Meanwhile, you can use the following cURL command to get an Access token via cURL or postman. You can also check documentation for API usage details.

# First get Access Token
# Get Customer Key and Customer ID from https://dashboard.aspose.cloud/
curl -X POST "https://api.aspose.cloud/connect/token" 
-d "grant_type=client_credentials&client_id=xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxx" 
-H "Content-Type: application/x-www-form-urlencoded" 
-H "Accept: application/json"
1 Like