I’ve been migrating my code to use the new requests method in 2.3 platform. I have a serverless app. I have been able to get $requests.invokeTemplate() to work for calls to freshsales but now I’m trying to do the same with an external web service (api-pa.mindflash.com) and I am getting the following error:
I hope you have some template syntax for the API key mentioned in the headers. I don’t see any other template, and everything is pure text.
This error means there’s some issue with replacing a proper value for the mentioned template for installation parameters, context data, or access token.
Could you share how the structure is used if it can be shared publicly? If not, could you verify yourself if the syntax is correct and a value is available for it when the app invokes this request (for example, the iparams value is already submitted if the installation parameter is used)? In headers, all of them are accepted. There’s no restriction for headers section.