Passing ticket_id to UpdateTicket in custom app

Hi team, I am building a custom app for freshdesk where I need to call the updateTicket api provided by fresh desk. I am using fdk 9.3.1.
I am trying to call updateTicket API via

In requests.json:

In app.js (the file which invokes template)

I have made sure that iparams are correct, the connection is correct, and all other basic details. Gives me error:
Error updating ticket: {status: 502, headers: {…}, response: ‘Error in establishing connection’, errorSource: ‘APP’, attempts: 1}

Hi @Nishant_Goel,

If this happens in your local could you please the .fdk file to check the logs?

If you see that the values are rendered, then try making an API call using POSTMAN by copying the URL from the logs. If you can’t reach the server then raise a support ticket.

Because 502 happens when we can’t reach the server.

Thank you.

1 Like

Hi @Nishant_Goel,

In the schema, the {{id}} in the path is incorrect.

When invoking the request, the “path” is not a valid attribute. Can you refer to the documentation for sending the id via context dynamically?