APIs & Integrations

steveka
参加者

Looping Through companies API, I randomly get an error part way through.

解決

Hi There,

I'm looping through the companies paged api with php and curl, and seem to randomly get an error sometimes. Maybe the first or 5th iteration, seems random. Any help would be appreciated...

The error is


{"status":"error","message":"internal error","correlationId":"c5ae9498-ab7b-4e38-9764-fbc5fda04dd2","requestId":"871ce6be5271bcc16bd3cfde5540159f"}

 

Request was this, works in postman. The x's are placeholder

 

https://api.hubapi.com/companies/v2/companies/paged?hapikey=xxxxxxx&properties=name&properties=acct_...

 

0 いいね!
1件の承認済みベストアンサー
hot_z
解決策
投稿者

Looping Through companies API, I randomly get an error part way through.

解決

Hi there,

 

I think that there is a possibility that your issue is related to what happened in https://community.hubspot.com/t5/APIs-Integrations/Get-all-companies-throws-random-HTTP-500-errors/m.... Is this still happening for you now?

元の投稿で解決策を見る

3件の返信
hot_z
解決策
投稿者

Looping Through companies API, I randomly get an error part way through.

解決

Hi there,

 

I think that there is a possibility that your issue is related to what happened in https://community.hubspot.com/t5/APIs-Integrations/Get-all-companies-throws-random-HTTP-500-errors/m.... Is this still happening for you now?

steveka
参加者

Looping Through companies API, I randomly get an error part way through.

解決

Thanks hot_z,

 

Looks like it was a temporary condition, took a look at the hubspot status page when it was happening and didn't see anything about api problems.

 

0 いいね!
IsaacTakushi
HubSpot Employee
HubSpot Employee

Looping Through companies API, I randomly get an error part way through.

解決

Thanks for jumping in, @hot_z.

 

@steveka, the issue you're describing is almost certainly related to that issue, which should now be resolved.

 

Please let me know if you're still encountering the behavior.

 

Isaac Takushi

Associate Certification Manager
0 いいね!