Request error while working with Aspose PDF Cloud

I am facing issues in running any request for Aspose-pdf-cloud. I have set up the API and made account as well. Following is the code that i am using:

pom.xml:

aspose-cloud
artifact.aspose-cloud-releases
http://artifact.aspose.cloud/repo


com.aspose
aspose-pdf-cloud
21.1.0
compile

Code:
ApiClient apiClient = new ApiClient();
apiClient.setAppKey(“XXXXXXXXXX”);
apiClient.setAppSid(“XXXXXXX”);
PdfApi apiInstance = new PdfApi(apiClient);

String name = “CoverPage.pdf”; // String | The document name.
String storage = “AsposeCloudTesting”; // String | The document storage.
String folder = “TestFiles”; // String | The document folder.

DocumentResponse doc = apiInstance.getDocument(name, storage, folder);

It gives me 400 Bad request all though i have same storage, folder and file on my account. Kindly guide how to send requests using aspose-pdf-cloud.

This topic has been moved to the related forum: Extract PDF Metadata and PDF Document Info Request in Java Throws Error - Free Support Forum - aspose.cloud