The authorization data is incorrect when converting xlsx to pdf

Using the curl command : curl -X PUT “https://api.aspose.cloud/v3.0/cells/convert?format=pdf” -H “accept: multipart/form-data” -H “Content-Type: multipart/form-data” -H “Authorization: Bearer NEWLY_GENERATED_TOKEN” -F “File=@/var/web/fabrice/e-project8.3/telechargement/9/document/document/0/15718/CPM_annuaire_et_orga.xlsx”

we get the following error :
{“requestId”:“a9ab1ac6-286b-46a8-91e7-da19a6bca333”,“error”:{“code”:“errorAuthorization”,“message”:“Unauthorized”,“description”:“Operation Failed. The authorization data is incorrect.”,“dateTime”:“2024-05-17T09:29:36.0766388Z”,“innerError”:null}}

The token is a new one for each call and it works fine with the word convert API.

Can someone help ?

Fabrice

@formisa ,

We will check this issue as soon as possible.

@formisa ,
Please provide your account info. e.g. your email or your name.

We will check further.

@formisa,

Fixed it and please try it.

@formisa,
Due to the change of the Authority address, the existing SDK package is abnormal, please upgrade to the latest version 24.5. If you are not using the SDK, please update the address where you obtained the access token to https://id.aspose.cloud/connect/token

@wangtao Hi,
Our account is Formi-SA with email servicesATformi.com

Thank you

@formisa ,
Thanks for your info.
Due to the change of the Authority address, please get an access token from https://id.aspose.cloud/connect/token. Or upgrade your SDK package to 24.5.

@formisa ,
Due to billing and authentication issues, Cells Cloud has temporarily rolled back to the previous version, if you encounter authentication problems again, please re-use the https://api.aspose.cloud/connect/token to obtain an access token

1 Like

Now it works without changing anything. We areusing https://api.aspose.cloud/connect/token to get the token.
Are you planning to change this url again ?

@formisa ,
Due to billing and authentication issues, Cells Cloud has temporarily rolled back to the previous version, please use the https://api.aspose.cloud/connect/token to obtain an access token.

1 Like