forge-api-java-client icon indicating copy to clipboard operation
forge-api-java-client copied to clipboard

Creating 'AppPackage' throws APIException with Error code 500

Open MadhukarMoogala opened this issue 8 years ago • 0 comments

Facing issue to create AppPackage. Please refer to attached file

AutoCADioTest.java
package.zip

We are getting APIexception with error code 500, "An error has occurred."

We also faced issue in getUploadUrlWithRequireContentType(); (Same is true for getUploadUrl() method)

 return apiClient.invokeAPI method we had to pass localVarReturnType as following
    GenericType<String> localVarReturnType = new GenericType<String>() {}; 
  Else it returns null body.

After making these changes we were wble to get url in response body.

We are currently getting it as string and parsing for url, but we will change it to json

Please let us know whether this is correct or there is any alternate way.

JavaApiQuery.zip

MadhukarMoogala avatar Sep 15 '17 04:09 MadhukarMoogala