APIs & Integrations

skerdi
Participant

Archive Endpoint Response Issue in HubSpot V3/V4 API

SOLVE

Hello,

I am encountering the following issue with the HubSpot V3 and V4 API. When hitting the archive endpoint for the CRM Objects or Associations, we always receive the 204 No Content status code whether the request was successfully executed or whether I set up a nonexistent ID to archive. On the contrary, the Legacy API returns a 404 Not Found status for IDs that are already archived or do not exist.

Can we change the behavior to match that of the Legacy API?

0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Community Manager
Community Manager

Archive Endpoint Response Issue in HubSpot V3/V4 API

SOLVE

Hey, @skerdi 👋 Thanks for your feedback. This community is primarily for peer-to-peer support. If you have a moment, adding your suggestion to the Ideas Community and getting some upvotes will be very helpful in getting your suggestion in front of the Product team. If you add a link back to your Idea post, I'll be sure to give it an upvote to help get the ball rolling.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

View solution in original post

0 Upvotes
2 Replies 2
Jaycee_Lewis
Solution
Community Manager
Community Manager

Archive Endpoint Response Issue in HubSpot V3/V4 API

SOLVE

Hey, @skerdi 👋 Thanks for your feedback. This community is primarily for peer-to-peer support. If you have a moment, adding your suggestion to the Ideas Community and getting some upvotes will be very helpful in getting your suggestion in front of the Product team. If you add a link back to your Idea post, I'll be sure to give it an upvote to help get the ball rolling.

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
skerdi
Participant

Archive Endpoint Response Issue in HubSpot V3/V4 API

SOLVE

Hi. @Jaycee_Lewis Thanks for guiding me to the right course of action. I would appreciate it if you could upvote my idea: Align Archive Endpoint Behavior in HubSpot V3/V4 API with Legacy API

0 Upvotes