Error: You do not have permission to view OAuth Client with id XXX

This works fine with V1 of the API, but not with V2.

I’m using the Wordpress plugin and when a user who is a Patron authenticates, I always get false as the user patronage, i.e., Patreon_Wordpress::getUserPatronage() method returns false. Digging deeper I see that when it was trying to get user profile information, it encountered an error:

You do not have permission to view OAuth Client with id XYZ

where XYZ is the client ID of the app creator.

I’m assuming that the WP plugin is requesting the correct scopes, so I’m a bit stumped as to why the client ID wouldn’t have permission.

Any help is appreciated.

Upcoming 1.2.0 version of the plugin uses v2 API for user-related calls. The existing 1.1.2 may not work with v2 api at all.

Please check out the 1.2.0 beta thread and try the beta package posted in the thread. It should be able to call v2 endpoints for user-related calls while using v1 client details.

Thank you. That explains it.