APIs & Integrations

MegaDaz
Mitglied

Forms API working perfectly on dev server but not on live

lösung

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 Akzeptierte Lösungen
Mike_Eastwood
Lösung
Autorität | Gold Partner
Autorität | Gold Partner

Forms API working perfectly on dev server but not on live

lösung

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

Lösung in ursprünglichem Beitrag anzeigen

MegaDaz
Lösung
Mitglied

Forms API working perfectly on dev server but not on live

lösung

Thanks very much @Mike_Eastwood - will investigate today.

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
2 Antworten
Mike_Eastwood
Lösung
Autorität | Gold Partner
Autorität | Gold Partner

Forms API working perfectly on dev server but not on live

lösung

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
Lösung
Mitglied

Forms API working perfectly on dev server but not on live

lösung

Thanks very much @Mike_Eastwood - will investigate today.

0 Upvotes