APIs & Integrations

foxsterben
Contributor

Getting All Contacts with Data Factory ERROR

hello

 

Hi, I want to copy all the contacts with ADF but I have an error:

 

Operation on target Copy_u5q failed: Failure happened on 'Source' side. ErrorCode=UserErrorInvalidPaginationRule,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Invalid PaginationRule, RuleKey=AbsoluteUrl, RuleValue=https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=myAPIkey&count=100&vidOffset=$['vi...,'

 

quiero traer todos los contactos con API Rest, estoy usando vid-offset y AbsolutUrl, creo que en la Absoluturl es donde esta el error

 

foxsterben_0-1618722083485.png

 

key                                                       value
QueryParameters.vidOffset                                                       $[?(@.has-more==true)].vid-offset
AbsoluteUrl                                                       https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=MyAPIkey&count=100&vidOffset=$['vi...

 

foxsterben_1-1618722428568.png

thank you very much for your help

3 Replies 3
GabieBoon
Participant

Getting All Contacts with Data Factory ERROR

Hi @foxsterben 

Did you already found a solution to this problem?

I currently have the same issue.

 

In the json file i can find the following structure:

-paging

   -next

       -after: "1902"

       -link: "url to next link" (without api key)

 

I want to use the pagination with the api key otherwise it cant find the next page.

 

Thanks,

Gabie

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Getting All Contacts with Data Factory ERROR

Hi @foxsterben 

Are you still working on this?

Adding a few people to the thread:

@Oscar1 , @mangelet , @Mario_Hernandez , @IvanGil do any of you have thoughts on this problem?

0 Upvotes
foxsterben
Contributor

Getting All Contacts with Data Factory ERROR

Yes, I am still working on this.

 

I hope they can help me, thank you

0 Upvotes