Hello everyone,
I am trying to adjust my app with the new Freshdesk api and have the following bits of code that throw an error and are no longer supported.
This is the error:
And these are the bits of code.
Hello everyone,
I am trying to adjust my app with the new Freshdesk api and have the following bits of code that throw an error and are no longer supported.
This is the error:
And these are the bits of code.
The error is about your JSON being ‘Undefined’. So, the best guess is your query string is missing.
[Freshdesk](https://Query/Filter API Doc)
@Alex_Grossi The invocation seems to be wrong. It should be
client.request.invokeTemplate(requestTemplateName, {
context: {},
body: JSON.stringify(body)
});
You can find more info on this here → Freshworks Developer Docs | Use request method to place secure HTTP calls