APIs & Integrations

AnasM
Participant

API Export missing new records

Hello Everyone,

 

I'm trying to use the Export API Endpoint (POST, GET) to create a backup of all our records in Hubspot. I set up the request body and I'm getting the link to download the export, which seems correct. However, for all Objects (Deals, Contacts, Companies) it doesn't contain any records that are newer than 2024 (So anything 2025, 2024 isn't being exported for some reason). There is no fillter setup, I used the exact same request body sent by the browser when performing the Export in Hubspot. Still no new records.
I'm using a Bearer-Token as Authentication, and everything seems to work fine. But the final export result isn't complete.
I would appereciate some insight or ideas on the subject, as I cant pin point if it is a limitation issue, Authentication issue, or request issue.

5 Replies 5
GRajput
Recognized Expert | Gold Partner
Recognized Expert | Gold Partner

API Export missing new records

Hi @AnasM 

It looks like you’re making the correct request but encountering an unexpected limitation or issue. What you can do here is try explicitly specifying a date range to get the data. As I don't see any error in the code or API If the problem still persists you can contact support.

 

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!

 




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting


AnasM
Participant

API Export missing new records

Hey Gaurav,

 

Thanks a lot for responding. I did try that but unfourtuntly still got the same limited result. Even when setting the Date range to (2024-2025) nothing from both show up and I end up with the same result.
If till next week nothing here works, I will open a ticket with the support directly as you said. Hopefully we can clear this up and I will  update the post with the solution (once defined) to help anyone with the same issue.
Thanks again and have a nice weekend!

kennedyp
Community Manager
Community Manager

API Export missing new records

Hi @AnasM! Welcome to the Community-- happy to have you here 😊

 

I would assume that if your user has access to the records, then it may be an issue with your request. Could you share the request body you are submitting? Be sure to exclude your private information like tokens or hubID. 

 

I want to invite some subject matter experts to see if they have any suggestions.

Hey @johnelmer, @Mike_Eastwood do y'all have any idea why we may not be getting more recently created records returned?

 

Best,

Kennedy


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
AnasM
Participant

API Export missing new records

Hey @kennedyp,

 

Thanks a lot for responding. Sure, I'm using the following Endpoint "//api.hubapi.com/crm/v3/exports/export/async" and the request body is as follows (Bearer-Token as Auth):
{
"exportType": "VIEW",
"exportName": "BackupDeals",
"format": "CSV",
"language": "EN",
"objectType": "DEAL",
"objectProperties": [
"amount",
etc....(Approx. 20 other Properties)
],
"associatedObjectType": ["CONTACT", "COMPANY"],
"overrideAssociatedObjectsPerDefinitionPerRowLimit": true
}

0 Upvotes
kennedyp
Community Manager
Community Manager

API Export missing new records

Thanks for that context! 

Hey @GRajput and @zach_threadint do y'all have any troubleshooting tips or suggestions for @AnasM? Thanks! 


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !