Skip to main content
Solved

Invalid permissions accessing metadata API

  • February 15, 2023
  • 1 reply
  • 49 views

Forum|alt.badge.img+3

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

Best answer by Ram_Navan

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

1 reply

Forum|alt.badge.img+3
  • Author
  • New Participant
  • 2 replies
  • Answer
  • February 15, 2023

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