Track Failed Request

rajan
Member

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
5 Replies 5
piersg
Key Advisor

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
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

@piersg ,

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

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes
RMones
Contributor | Platinum Partner

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

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