Custom object association stopped working

I have an automated process that uses the Notes API to read notes from HubSpot and sync with an external system. This has been running and working for over a year with no issues/changes. Last week (July 10, approx 6:45 am Pacific) the process abruptly stopped working, and the error messages indicate that it is a problem with one of my custom object types. The full code is here: customer-success/notes/download.py at main · cal-itp/customer-success · GitHub

TLDR; I make a GET request to /crm/v3/objects/notes and send associations=[“companies”, “vendors”] where “vendors” is my custom object type. I have confirmed this is the correct name and the objects still exist within HubSpot. The notes download fails with a 400 error code an the message:

{“status”:“error”,“message”:“Unable to infer object type from: vendors”,“correlationId”:“xxx”}

Anyone have any idea what could be going wrong? The logs aren’t very helpful beyond this error message.

Hey @km_compiler :waving_hand: This breaking change was announced last year and went into effect on June 24th — Breaking Change: Removed Support for Referencing Custom Object Types by Base Name.

Thank you @Jaycee_Lewis, I missed that announcement! Curious that the API calls continued to succeed for a few days after the cutoff date… but looks like I’ll need to update my process now regardless.