Skip to content
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

Open
camplegal-cm opened this issue Dec 24, 2021 · 0 comments
Labels
legacy Related to legacy, non-OpenAPI SDK

Comments

@camplegal-cm
Copy link

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;

private ApiAppOauthScopeType() {
}

}`

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.

@jtreminio-dropbox jtreminio-dropbox added the legacy Related to legacy, non-OpenAPI SDK label Jun 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy Related to legacy, non-OpenAPI SDK
Projects
None yet
Development

No branches or pull requests

2 participants