APIs & Integrations

AlexLHW
Mitglied

Create Contact Export - 409 Response

Hello there,

 

I'm facing an issues that is not described in the documentation, when creating a Contact Export by API Call.

 

On "crm/v3/exports/export/async" endpoint, I'm sending this :

 

AlexLHW_0-1689687984635.png

 

And everytime I'm receiving a 409 Conflict response from Hubspot API.

In Hubspot Back Office, every export are marked ready, so no other export is in conflict with the new one I'm wanting to create.

 

Can I get some help here as I'm running out of solutions ? 🙂

 

Thanks a lot

 

Alex

 

0 Upvotes
2 Antworten
TomM2
Vordenker/-in | Platinum Partner
Vordenker/-in | Platinum Partner

Create Contact Export - 409 Response

Hey @AlexLHW it looks like you're adding each property in the "objectProperties" array in quotes.

From the documentation it looks like this is identifying the array by token and not as a string. 

https://developers.hubspot.com/docs/api/crm/exports

 

If you only have quotes enclosing the array and not for each object does this work? It also looks like you may have spelled "language" wrong. 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


0 Upvotes
AlexLHW
Mitglied

Create Contact Export - 409 Response

Hey Tom,

Sorry for the mispelling of "language", actually in my app I spelled it right ^^, the screenshot was made on purpose for this post, as in my app it is a c# class.

I tried adding objectProperties the way you mentionned, but I got a 400 Bad Request with it. Btw not sure that would have helped since objectProperties is a array of string, so enclosing each properties with quotes is the right way I think so ?

 

Thanks for your help ! 🙂

0 Upvotes