APIs & Integrations

MegaDaz
Member

Forms API working perfectly on dev server but not on live

SOLVE

Hello everyone,

We have a forms API working perfectly on our dev server e.g. all form fields submitting to HubSpot but when we move this to live (https://glidegroup.co.uk/hyperfast-students) it stops working.  

 

Form just returns the error - Sorry, something went wrong and we are not able to process your request. Please try again later.

 

Any advice and guidance would be much appreciated. HELP! 

0 Upvotes
2 Accepted solutions
Mike_Eastwood
Solution
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Forms API working perfectly on dev server but not on live

SOLVE

Hi @MegaDaz 

 

Are you using an API Key for authentication or OAuth?

 

The API Key is ideal for testing your code from a Dev environment or Postman.

 

But, in Production you need to use OAuth to authenticate.

 

There's more info here.

 

Was that the issue?

Mike

View solution in original post

MegaDaz
Solution
Member

Forms API working perfectly on dev server but not on live

SOLVE

Thanks very much @Mike_Eastwood - will investigate today.

View solution in original post

0 Upvotes
2 Replies 2
Mike_Eastwood
Solution
Key Advisor | Gold Partner
Key Advisor | Gold Partner

Forms API working perfectly on dev server but not on live

SOLVE

Hi @MegaDaz 

 

Are you using an API Key for authentication or OAuth?

 

The API Key is ideal for testing your code from a Dev environment or Postman.

 

But, in Production you need to use OAuth to authenticate.

 

There's more info here.

 

Was that the issue?

Mike

MegaDaz
Solution
Member

Forms API working perfectly on dev server but not on live

SOLVE

Thanks very much @Mike_Eastwood - will investigate today.

0 Upvotes