Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.
This repository was 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

Description

@camplegal-cm

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    legacyRelated to legacy, non-OpenAPI SDK

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions