I’m trying to follow the example on GitHub - aspose-cells-cloud/aspose-cells-cloud-php: PHP SDK to communicate with Aspose.Cells REST API. Create, Edit & Convert Excel files in the Cloud. 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 a400 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).