Access Token not working for some APIs

Description
I have made an OAuth app and generated access and refresh tokens for the same. The tokens were working fine for the APIs I hit, except few where i get error code 124.

Error
When using the api https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/getaccountlocksettings
I get error code 124 and message the access token invalid on postman. Other APIs are working fine.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Got the solution
for the endpoint - /accounts/{accountId}/lock_settings
I was passing the accountId of the admin instead had to use me in place of the accountId

Thanks for sharing the solution! :slight_smile:

-Tommy