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

Free Support Forum - aspose.com

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).

This topic has been moved to the related forum: https://forum.aspose.cloud/t/400-bad-request-postimportdata-fails/16382