Ora
June 16, 2020, 2:25pm
1
I’m getting a runtime error when requesting https://www.patreon.com/api/oauth2/api/current_user/campaigns any thoughts on how to fix this?
I’m first refreshing my creator token via https://api.patreon.com/oauth2/token and using the access_token provided in the request.
Are you using an api v2 endpoint with a v2 token, using a v2 call?
Ora
June 16, 2020, 4:02pm
3
It’s a v1 token and as far as I know https://www.patreon.com/api/oauth2/api/current_user/campaign is a v1 endpoint.
Thanks.
Can you try a v2 token with v2 counterpart of that endpoint by translating the call to v2? v1 is set for depreciation, and you may experience issues while using it.
Ora
June 19, 2020, 6:50pm
5
Thanks I updated to v2 and that seems to have fixed the problem.
1 Like