APIs & Integrations

narmstrong
Contributeur | Partenaire solutions Platinum
Contributeur | Partenaire solutions Platinum

Serverless Function Error

I am getting the following error when visiting the endpoint.

 

{"error":"The endpoint GET endpoint/url has not been configured for portal portalID"}

I do not see anywhere to turn it on in the portal or in the console instructions. Is there a step by step somewhere?

 

Any help is appreciated.

Thanks 

Noah Armstrong | TSL Marketing
Senior Developer
6085 Marshalee Dr| Suite 100 | Elkridge, MD 21075
Contact Us

TSL Marketing
0 Votes
3 Réponses
RMones
Contributeur | Partenaire solutions Platinum
Contributeur | Partenaire solutions Platinum

Serverless Function Error

Hi @narmstrong ,

 

Are u using a CMS developer Sanbox account?

 

Developers can experiment with serverless functions using their CMS developer sandbox account. API developer accounts and their test accounts can't currently use serverless functions, use a CMS Developer Sandbox account instead.

 

https://developers.hubspot.com/docs/cms/features/serverless-functions

 

Regards Ronald

narmstrong
Contributeur | Partenaire solutions Platinum
Contributeur | Partenaire solutions Platinum

Serverless Function Error

Hi @RMones ,

 

Thanks for replying. I am actually trying to apply it in an active account.

It just says it "isnt configured." I am asking how and where it gets configured.

I got my dev key for the account and I can list out the functions with 

 

hs functions list -a nameofaccount

 

But I would assume if I visited the endpoint and I console.logged("Hello World"); that it would show up not say 

 

{"error":"The endpoint GET endpoint/url has not been configured for portal portalID"}

 

Perhaps I am missing something?

 

Thanks for the help.


Noah Armstrong | TSL Marketing
Senior Developer
6085 Marshalee Dr| Suite 100 | Elkridge, MD 21075
Contact Us

TSL Marketing
EJacobson
Participant

Serverless Function Error

Did you ever find a solution to this issue? I am having the same issue now.

0 Votes