The API has been abandoned

APIs haven’t been processed through Integromat for the last 2 days and are currently not working. Confirmed with Integromat everything is working on their end.

Which hooks arent working?

I built an app with basic v2 authentication but it fails randomly about every 5th or 6th time with an Unauthorized error. This happens after I have gotten the access_token and I am trying to get user details.

Here is the error:

{
  errors: [
    {
      code: 1,
      code_name: 'Unauthorized',
      detail: "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.",
      id: 'ff8a0ef9-8434-4f3b-a1c4-173ecd31bbb6',
      status: '401',
      title: 'Unauthorized'
    }
  ]
}

This happens on the endpoint:
https://www.patreon.com/api/oauth2/v2/identity?include=memberships.currently_entitled_tiers&fields[user]=email,first_name,full_name,image_url,last_name,thumb_url,url,vanity,is_email_verified

If I try again it usually works. I had to build in an error message into my app to prompt the user to try logging in again. Would this be considered a stability issue?

My app is on Netlify and the endpoints are being accessed via a serverless function (AWS lambda function) if that helps.

There may be some intermittent authorization issues at the api this week since some work is being done.

Caching your user’s info for short duration would help for this kind of issue. Check out how the WP plugin does it:

1 Like