APIs & Integrations

BDubois
Membre

502 errors Bad Gateway

Résolue

Hello,

Since yesterday we experiment random 502 errors on PATCH https://api.hubapi.com/crm/v3/objects/companies/ endpoints but also on SearchApi.

We got an html page from Cloudflare when it happends.

I saw Cloudflare ran into some issues recently, can you confirm it please ?

1 Solution acceptée
PamCotton
Solution
Gestionnaire de communauté
Gestionnaire de communauté

502 errors Bad Gateway

Résolue

Hello @BDubois, thank you for posting in our Community!

 

You will normally only see 502 responses when making a large number of requests over a sustained period. If you get one of these responses, you should pause your requests for a few seconds, then retry.

 

Let me know if that works for you.

 

Kindly,

Pam

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


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




Voir la solution dans l'envoi d'origine

0 Votes
2 Réponses
PamCotton
Solution
Gestionnaire de communauté
Gestionnaire de communauté

502 errors Bad Gateway

Résolue

Hello @BDubois, thank you for posting in our Community!

 

You will normally only see 502 responses when making a large number of requests over a sustained period. If you get one of these responses, you should pause your requests for a few seconds, then retry.

 

Let me know if that works for you.

 

Kindly,

Pam

Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !


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




0 Votes
BDubois
Membre

502 errors Bad Gateway

Résolue

Hello @PamCotton ,

Thank you for your reply.

We are currently in huge process of migration datas from previous CMR and cleaning the current datas in Hubspot.
So we make a lot of requests, and we only experimented 502 errors since Friday, this is why I wondered.

But thanksfully there is an retry logic with the PHP client library, so implemented it already and it seems going fine now 👍

0 Votes