Required scope for https://api.getbase.com/v2/accounts/self
Posted Oct 04, 2022
Hi Community,
which scope is required to read the account information via Zendesk Sell API?
I've created an access token with the following scopes: sync profile read write
But when I request the API I get:
"error": {
"code": "unauthorized",
"message": "request is unauthorized",
"details": "Required access token is missing, malformed, expired, or invalid."
}
Can anyone help me out?
Regards,
Marko
0
3
3 comments
Erica Girges
It could be possible you token has expired before you used it. Do you have a single or multi-user application?
0
Marko Seidenglanz
Hi Erica,
Yes. I did using the following Request:
https://api.getbase.com/oauth2/token?grant_type=refresh_token&refresh_token=<REFRESH_TOKEN>&scope=sync+profile+read+write
And received the following:
0
Erica Girges
I don't believe the issue is is with the scopes. The scopes you included is correct.
Did you recently create the token?
Best,
Erica
0
Sign in to leave a comment.