We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

400 Bad Request: PostImportData fails

I’m trying to follow the example on https://github.com/aspose-cells-cloud/aspose-cells-cloud-php#import-data-to-excel-worksheet-via-php and can upload the file and can see it on https://dashboard.aspose.cloud/files. But when calling cellsWorkbookPostImportData() it fails with the message: PostImportData fails. which doesn’t give me much. I’ve also tried with Dropbox as storage which fails with the same message. I can upload the file to Dropbox but not call PostImport Data.

Full error message:

Aspose\Cells\Cloud\ApiException: [400] Client error: POST https://api.aspose.cloud/v3.0/cells/Book1.xlsx/importdata?folder=Temp&storageName=Locale resulted in a 400 Bad Request response: {“RequestId”:"",“Error”:{“Code”:“Fail”,“Message”:"PostImportData fails. (Object refe (truncated…) in Aspose\Cells\Cloud\Api\CellsApi->cellsWorkbookPostImportDataWithHttpInfo() (line 68614 of /var/www/html/vendor/aspose/cells-sdk-php/lib/Api/CellsApi.php).


Thank you for your provided information. We will check it ASAP and reply.


We tested the code of Readme, too.
It is normal.
Our test env:
Windows 10 pro
PHP 7.4.21 (cli) (built: Jun 29 2021 18:06:05)
Aspose.Cells Cloud SDK for PHP 22.9

Please tell us your env, we will go on test the issue.