Help

Invalid permissions accessing metadata API

Solved
Jump to Solution
3012 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Ram_Navan
4 - Data Explorer
4 - Data Explorer

Hi,

I've registered an oAuth integration here and have given all permissions as seen in the below attached screenshot. I'm able to get the access token on the server side. The access token works for non metadata API calls. However when making metadata API calls like list bases or list tables, I'm getting the errorINVALID_PERMISSIONS_OR_MODEL_NOT_FOUND. I've tried with two different airtable accounts and through my application, terminal and postman as well. same result. Can you please help me resolve this problem? thank you!

 
Error
{
"error": {
"type": "INVALID_PERMISSIONS_OR_MODEL_NOT_FOUND",
"message": "Invalid permissions, or the requested model was not found. Check that your token has the required permissions and that the model names and/or ids are correct."
}
}
 
oAuth integration config

Screenshot 2023-02-15 at 2.42.59 PM.png

1 Solution

Accepted Solutions
Ram_Navan
4 - Data Explorer
4 - Data Explorer

@marks helped me resolve this issue. Basically I was not sending in the appropriate scopes with the auth URL.  Thanks a lot @marks !

See Solution in Thread

1 Reply 1
Ram_Navan
4 - Data Explorer
4 - Data Explorer

@marks helped me resolve this issue. Basically I was not sending in the appropriate scopes with the auth URL.  Thanks a lot @marks !