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

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.