Hi guys, i need your help to figure out what is going on in one of my subscribers.
I have a web app that uses the Patron API to verify if the user is a subscriber. if it is my subscriber, then they will login, if not, it shows an error informing them they need to be my subscriber to have access to it.
I have almost 130 subscribers, and everyone can use the Patreon API to login except one.
I already tried cleaning the cookies, doing a Patron logout and login over my webapp, different browsers, different PCs, nothing works.
How can I fix this issue?
Thank you
Is the data that you are getting back from the API different than what is shown in the audience relationship manager?
What API are you calling and what is the data that you are getting that’s different? What are the response bodies and status codes? I think it would be helpful for others with more details.
I’ve checked for the members’ differences, and I found two members who cannot login using the API
Both have the “next billing date” lower than “Cancel Date” and “Access Expiration”
This is the log I got in the console
index-fMwJQrfB.js:301
POST https://plataforma.conversasdeinvestidores.com/api/patreon/auth 500 (Internal Server Error)
(anonymous) @ index-fMwJQrfB.js:301
xhr @ index-fMwJQrfB.js:301
Sb @ index-fMwJQrfB.js:303
_request @ index-fMwJQrfB.js:304
request @ index-fMwJQrfB.js:303
(anonymous) @ index-fMwJQrfB.js:304
(anonymous) @ index-fMwJQrfB.js:299
(anonymous) @ index-fMwJQrfB.js:304
(anonymous) @ index-fMwJQrfB.js:304
xf @ index-fMwJQrfB.js:40
Ga @ index-fMwJQrfB.js:40
Ay @ index-fMwJQrfB.js:40
vi @ index-fMwJQrfB.js:38
nA @ index-fMwJQrfB.js:40
ji @ index-fMwJQrfB.js:40
ZS @ index-fMwJQrfB.js:40
S @ index-fMwJQrfB.js:25
R @ index-fMwJQrfB.js:25
index-fMwJQrfB.js:304 Patreon authentication error: _e {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …}
(anonymous) @ index-fMwJQrfB.js:304
await in (anonymous)
(anonymous) @ index-fMwJQrfB.js:304
xf @ index-fMwJQrfB.js:40
Ga @ index-fMwJQrfB.js:40
Ay @ index-fMwJQrfB.js:40
vi @ index-fMwJQrfB.js:38
nA @ index-fMwJQrfB.js:40
ji @ index-fMwJQrfB.js:40
ZS @ index-fMwJQrfB.js:40
S @ index-fMwJQrfB.js:25
R @ index-fMwJQrfB.js:25
index-fMwJQrfB.js:301
POST https://plataforma.conversasdeinvestidores.com/api/patreon/auth 500 (Internal Server Error)
(anonymous) @ index-fMwJQrfB.js:301
xhr @ index-fMwJQrfB.js:301
Sb @ index-fMwJQrfB.js:303
_request @ index-fMwJQrfB.js:304
request @ index-fMwJQrfB.js:303
(anonymous) @ index-fMwJQrfB.js:304
(anonymous) @ index-fMwJQrfB.js:299
(anonymous) @ index-fMwJQrfB.js:304
(anonymous) @ index-fMwJQrfB.js:304
xf @ index-fMwJQrfB.js:40
Ga @ index-fMwJQrfB.js:40
(anonymous) @ index-fMwJQrfB.js:40
S @ index-fMwJQrfB.js:25
R @ index-fMwJQrfB.js:25
index-fMwJQrfB.js:304 Patreon authentication error: _e {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …}
(anonymous) @ index-fMwJQrfB.js:304
await in (anonymous)
(anonymous) @ index-fMwJQrfB.js:304
xf @ index-fMwJQrfB.js:40
Ga @ index-fMwJQrfB.js:40
(anonymous) @ index-fMwJQrfB.js:40
S @ index-fMwJQrfB.js:25
R @ index-fMwJQrfB.js:25
index-fMwJQrfB.js:301
POST https://plataforma.conversasdeinvestidores.com/api/patreon/auth 403 (Forbidden)
(anonymous) @ index-fMwJQrfB.js:301
xhr @ index-fMwJQrfB.js:301
Sb @ index-fMwJQrfB.js:303
_request @ index-fMwJQrfB.js:304
request @ index-fMwJQrfB.js:303
(anonymous) @ index-fMwJQrfB.js:304
(anonymous) @ index-fMwJQrfB.js:299
(anonymous) @ index-fMwJQrfB.js:304
(anonymous) @ index-fMwJQrfB.js:304
xf @ index-fMwJQrfB.js:40
Ga @ index-fMwJQrfB.js:40
Ay @ index-fMwJQrfB.js:40
vi @ index-fMwJQrfB.js:38
nA @ index-fMwJQrfB.js:40
ji @ index-fMwJQrfB.js:40
ZS @ index-fMwJQrfB.js:40
S @ index-fMwJQrfB.js:25
R @ index-fMwJQrfB.js:25
index-fMwJQrfB.js:304 Patreon authentication error: _e {message: 'Request failed with status code 403', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
(anonymous) @ index-fMwJQrfB.js:304
await in (anonymous)
(anonymous) @ index-fMwJQrfB.js:304
xf @ index-fMwJQrfB.js:40
Ga @ index-fMwJQrfB.js:40
Ay @ index-fMwJQrfB.js:40
vi @ index-fMwJQrfB.js:38
nA @ index-fMwJQrfB.js:40
ji @ index-fMwJQrfB.js:40
ZS @ index-fMwJQrfB.js:40
S @ index-fMwJQrfB.js:25
R @ index-fMwJQrfB.js:25
Patreon API endpoints used:
h**ps://www.patreon.com/oauth2/authorize (authorization)
Redirects user to Patreon login
Scope: “identity identity[email]”
h**ps://www.patreon.com/api/oauth2/token (exchange code for token)
Method: POST
Grant type: authorization_code
Headers: Content-Type: application/x-www-form-urlencoded
h**ps://www.patreon.com/api/oauth2/v2/identity (user data)
Method: GET
Headers: Authorization: Bearer {access_token}
Parameters:
include=memberships
fields[user]=email,full_name,image_url
fields[member]=patron_status,currently_entitled_tiers
(I’m limited to 2 links only so I replace the tt for **)
This error only affects two members, all the rest of the members can login without any problem
The logs you shared don’t really help me. Right now I see HTTP 500 and 403 from plataforma.conversasdeinvestidores.com
which I presume is your site? Without exact Patreon API / response body / status code and response headers I can’t help. cf-ray
and x-patreon-uuid
response headers are the most important ones to share.