forge-api-java-client
forge-api-java-client copied to clipboard
Creating 'AppPackage' throws APIException with Error code 500
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.