APIs & Integrations

joaomaciel-toro
Member

Access Denied on Forms API submit

Hi,

Since yesterday I’m getting the error below when I try to submit data to some of my HS forms.

<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n 
 \nYou don\'t have permission to access "http://forms.hubspot.com
 uploads/form/v2/2038--/#########/" on this server.<P>\nReference #18.6ec57a8a.
 1479308326.3####\n</BODY>\n</HTML>

HS forms API doesn’t require authentication. So, why I’m getting that error?
Can anyone help me please?

0 Upvotes
5 Replies 5
Ronjohn_Batalla
Member

Access Denied on Forms API submit

Hi I am getting this error on my entire pc in the network, all the policy and blockings of the firewall is disable.
and i am getting a packets through Command Prompt Ping test…

This is what shown on the browser…

Access Denied

You don’t have permission to access “http://hubspot.com/” on this server.
Reference #18.96086a7c.1485326032.3ea50092

can any one help me whit this issue?

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Access Denied on Forms API submit

Hi @joaomaciel-toro

Those types of errors are often temporary. Are you still seeing that error? If you are, can you message me directly and send me the full URL that you were using when you saw that error?

0 Upvotes
joaomaciel-toro
Member

Access Denied on Forms API submit

Hi David,

Our integrations are working properly again.
What I did was refactor all the code, including changing the lib we were
using to integrate via HTTPS.
The odd part is that the previous code was running without problems and we
didn’t touch it.

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Access Denied on Forms API submit

We made a change to the system that handles form submissions a few weeks ago, and this is likely a side effect of that change. The new settings would enforce https, so if you were using http:// for the request URL, you’d get a redirect to the https:// URL, and depending on how your system handled that redirect, you may have tripped our firewall and been temporarily blocked due to a large number of failed requests.

0 Upvotes
joaomaciel-toro
Member

Access Denied on Forms API submit

Hmmm…
Actually the code was submitting the form on a HTTPS Url. That was the
first thing I checked when we saw the error, but maybe I missed something.
Anyway, I guess we can close this issue for now and I’ll get back to you if
I see that happening again.

Thanks for your help.

0 Upvotes