Forbidden: You do not have permission to view member with id <ID>

Hello,

We noticed that most (not all) of our API requests return the following:

{
“errors”: [
{
“code”: 6,
“code_name”: “ViewForbidden”,
“detail”: “You do not have permission to view member with id .”,
“id”: “”,
“status”: “403”,
“title”: “You do not have permission to view this member.”
}
]
}

Is anyone else having this problem?

Is this member still a patron?

Yes, and it happens to a lot of members. Not just this one instance.
I’m pretty sure it’s a problem on Patreon’s end.

This may be related to 1st of month Patreon issues. Does this still continue as of today?

Yes, it unfortunately still continues. A new patron just pledged an hour ago, and he couldn’t access our site (which uses the Patreon APIv2), and when I checked again it was the exact same problem (API returns forbidden for that user). It just appears to happen to random users.

S/he did go through unlock sequence or login via Patreon sequence, right?

Sorry for the late reply, but I noticed today that when this issue happens, the member id ( API Reference ) changes, so my script uses the old member id and the API return forbidden. It works after the script fetches the new member id.

1 Like

You can use an all-in-one call to get both the user and membership like how WP plugin does:

1 Like

Sorry for the late reply again, codebard. I keep forgetting to check back here.

That’s very helpful. I’ll try it out! Thank you!

1 Like