not able to create access token using client credential
AnsweredI tried to create an access token using the following details
{
grant_type: 'client_credentials',
client_id: "2yuh6hjmzagiw5hr8tqhxvcqkcgyiw4c",
client_secret: "my client secret",
box_subject_type: 'user', //
box_subject_id: 'my user id', //
};
I am getting following error even after providing the correct credentials:
data: {
error: 'invalid_grant',
error_description: 'Grant credentials are invalid'
}
error: 'invalid_grant',
error_description: 'Grant credentials are invalid'
}
my app setup is : 1.server authentication (Client credential)
2. app access only
please let me know how to resolve it
-
Hi Soumya,
Welcome to Box Community and glad to help!
Please take this inquiry to our specialists for better assistance and feel free to post here.
Thanks for posting!
Please sign in to leave a comment.
Comments
1 comment