Create sub folder in cloud storage using Aspose.Tasks Cloud error

I can create a new folder at top level storage e.g:
PUT https://api.aspose.cloud/v3.0/tasks/storage/folder/Test1?storageName=Plans 200 OK

However if I try to create a subfolder like in the example in the api docs I get an error:
PUT "https://api.aspose.cloud/v3.0/tasks/storage/folder/Test1%2Fxyz?storageName=Plans
403 Forbidden
{
“RequestId”: “Root=1-6076f032-57151a665910e7db0303966c”,
“Error”: {
“Code”: “errorAmazonS3Storage”,
“Message”: “AmazonS3 Storage exception: The request signature we calculated does not match the signature you provided. Check your key and signing method.”,
“Description”: “Operation Failed. Exception of type ‘Amazon.Runtime.Internal.HttpErrorResponseException’ was thrown.”,
“DateTime”: “2021-04-14T13:37:54.745261Z”,
“InnerError”: null
}
}

If I create the subfolder and put files in it from aws cli, it can be read ok from aspose tasks cloud, e.g the following works ok:
GET https://api.aspose.cloud/v3.0/tasks/myplan.mpp/tasks?storage=Plans&folder=Test1%2FTest2

Does anyone know why i can create a folder at the top level, but I am not able to create a sub-folder?

@topa

Can you please confirm that you are using Aspose.Tasks for Cloud on your end?

Yes, I am using Aspose Cloud my end.

@topa

In that case, I am moving this query to Aspose.Cloud forum where our respective team will help you further in this regard.

@topa

Please use back slash as a directory separator in the path parameter. It will resolve the issue.

Hi
Thanks.
Using the backslash worked fine.
However the api reference docs show a forward slash, maybe they need updating.
screenshot (41.9 KB)
e.g.: “folder_1/folder_2/

@topa

Thanks for your feedback. We have logged a ticket TASKSCLOUD-543 to fix the problem. We will notify you as soon as it is resolved.