Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Error constructing REST Message/Method in server side widget script

Sri56
Tera Contributor

Hi Team,

We are using one rest message call within the server script on portal widget as below:

Sri56_0-1681999489963.png

But when we debug, we are getting "Error constructing REST Message/Method" error on console screen and this line is not executing.

Note: This Rest message is defined/created in a scoped application (customer service), and the rest message calling widget is in global application

Is this because of that?

 

Can someone please help me on this?

 

Thanks,

Sri

1 REPLY 1

Prince Arora
Tera Sage

@Sri56 

 

Can you check this LINK

 

Please add global keyword as suggested!

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.