This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
java.lang.IllegalArgumentException: No enum constant com.hellosign.sdk.resource.support.types.ApiAppOauthScopeType.api_app_access #158
Labels
legacy
Related to legacy, non-OpenAPI SDK
apiApp = client.getApiApp(clientId);
This line above produces the following exception.
And the class in question below does not seem to have the Enum constant:
`public enum ApiAppOauthScopeType {
basic_account_info,
request_signature,
access_reusable_forms,
manage_docs,
access_docs,
send_docs,
signatures;
}`
Exception trace:
com.hellosign.sdk.HelloSignException: java.lang.IllegalArgumentException: No enum constant com.hellosign.sdk.resource.support.types.ApiAppOauthScopeType.api_app_access
at com.hellosign.sdk.resource.support.ApiAppOauth.(ApiAppOauth.java:47)
at com.hellosign.sdk.resource.ApiApp.(ApiApp.java:55)
at com.hellosign.sdk.HelloSignClient.getApiApp(HelloSignClient.java:996)
at com.test.hellosign.service.HelloSignBaseService.init(HelloSignBaseService.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
I am using the latest version of the Java SDK. Please let me know if I am missing anything. Thanks.
The text was updated successfully, but these errors were encountered: