APIs & Integrations

rajan
Member

Track Failed Request

Hello Folks,
I am looking for a way to track failed request from hubspot form API. Let me know if there is any way do this.

Thanks

0 Upvotes
piersg
Key Advisor

Track Failed Request

Hmm if you're using your API key, you can check the call logs for failed requests. Go to Settings > Integrations > API Key. Click on the call logs for details. Other than that I think you'd have to create a Private App, or just try the form yourself and see what errors come up in the console.

rajan
Member

Track Failed Request

Hello @piersg,
I had a discussion with the support guys. They said Hubspot is not logging
the request coming from submission form API. They suggested the same path
which you mentioned. NOTE: I'm using this endpoint
*https://api.hsforms.com/submissions/v3/integration/submit/${portalId}/${id}`,
.*
Tested the form functionality while developing so we fixed console errors.
But now it's in production, one of the customers is facing the issue. So
for us not possible to catch what caused the error.

Thanks
dennisedson
Community Manager
Community Manager

Track Failed Request

@piersg ,

What does your error handling look like for the forms API?

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes
RMones
Contributor | Platinum Partner
Contributor | Platinum Partner

Track Failed Request

Hi @rajan ,

 

you can check the failed requests in your developer portal.

Go to the detail page of an App and select Monitoring. 

 

There you can filter for Response codes and see all the requests of your App.

 

Regards Ronald

rajan
Member

Track Failed Request

Hi Ronald,

This is the path https://app.hubspot.com/forms/{endpoint-id}/{form-id}/submissions. I can't see detail page. For me its Marketing > Lead Capture > Forms. 

 

Regards

Rajan

0 Upvotes