com.box.sdk.BoxAPIResponseException: The API returned an error code [400] unauthorized_client - The "box_subject_type" value is unauthorized for this client_id
Hi Team,
In JAVA project getting error while using below code(JWT with SDKs) :
BoxCCGAPIConnection client = BoxCCGAPIConnection.applicationServiceAccountConnection(
"cd0h41a9vqhs77iin",
"LyxAssyOyr8YDlK3Ey6",
"428889"
);
ERROR:
The API returned an error code [400] unauthorized_client - The "box_subject_type" value is unauthorized for this client_id
can anybody help on this.
-
Hello,
As shown in the Java SDK examples, using applicationServiceAccountConnection accepts a client id, client secret, and enterprise id. You will also want to make sure the admin of the enterprise has authorized the application.
Thanks,
Alex, Box Developer Advocate
サインインしてコメントを残してください。
コメント
1件のコメント