Create storage folder using Aspose.Storage Cloud SDK for Android returns forbidden response

Hi,

I downloaded cloud android demo from the website and tried it to create a folder. But it reports:

I/System.out( 1416): 15425049 [main] INFO com.aspose.cloud.sdk.common.Utils - Forbidden

I/System.out( 1416): 15425735 [main] ERROR com.aspose.cloud.sdk.storage.Folder - http://api.aspose.com/v1.1/storage/folder/hi?appSID=u0b3c67ed-f473-47a7-aed4-c8b1c9052009&signature=NfOkVCs3tvkPmsrW%2FmI9nsbXOH8

Can some one help on this problem?

Thanks,

Wei

Hi Wei,


Thanks for your inquiry. We are checking this scenario and will get back to you soon.

Best regards,

Hi Wei,

It looks like you are passing wrong App SID. The SID you sent in a private message does not contain starting 'u'. It starts with '0b3c67ed' but the App SID in your URI starts with 'u0b3c67ed'. Please make sure you are using correct App SID.

Best Regards,

@hiwei

Please note in latest API Version of Aspose Cloud APIs, every API has its own storage API methods for Cloud storage operations. So now there is no need to use Aspose.Storage Cloud API in addition to other Aspose.XXXX Cloud API. For example, please check following API methods to create new folder in Cloud storage from Aspose.Words Cloud API and Aspose.PDF Cloud API. You can also get updated SDKs from GitHub repositories.

PUT ​/words​/storage​/folder​/{path} Create the folder - Aspose.Words Cloud API

​PUT /pdf​/storage​/folder​/{path} Create the folder - Aspsoe.PDF Cloud API