Error accessing /properties/v1/contacts/properties via OAuth1
Hi All
We’ve built and integration between HubSpot and our system on top of HubSpot API. From last Friday we are experiencing errors when accessing GET /properties/v1/contacts/properties endpoint via OAuth1. The error is:
401 Multiple authentication targets presented for access_token!
Other endpoints we use i.e /contacts/v1/lists/all/contacts/all works fine. I know that OAuth1 is deprecated, but from what I found on the forum it should still work for older apps, like ours. We would like to migrate to OAuth2 in a long term, but this is not a seamless process because we have already many customers using the integration.
Error accessing /properties/v1/contacts/properties via OAuth1
Is there anyway for HubSpot developers to be notified of changes to the API?
It seems HubSpot’s policy is “move fast and break things” like Facebook, but since ours isn’t we spend a lot of overhead fixing issues that arise from breaking changes made to the HubSpot API like this one which occurred abruptly on the 20th.
Are you including both the access_token= query parameter and the Authorization: Bearer header in the request? And if so, are you also including the token in both as well?
Error accessing /properties/v1/contacts/properties via OAuth1
We’re seeing this intermittently as well. I can actually say that we actually ARE sending both the Auth header AND the access_token URL param for ALL of the endpoints we’re accessing from HubSpot (this is a legacy code base, not my implementation! )
It’s interesting that
this is only happened recently and
only for a very specific resource, /analytics/v2/sources/${params.source}/d?portalId=${params.portalId}&access_token=${params.access_token}
Are we safe to remove all instances of the access token URL param?