Clarification on Freshservice Interface APIs - catch block triggered instead of success

Hi,

I’m changing the From email address in the reply editor using interface api in Freshservice
The From address is getting changed but failure block is getting executed instead of success block

client.interface.trigger("setValue", {id: "reply", field: "from", value: "some_email"})
    .then(function(data) {
        console.log('from address changed:', data);
    }).catch(function(error) {
        console.log('from address error:', error);
    });

May I know the reason for this.

Thanks in advance.

Hi Gokulaselvan,

I was able to reproduce this issue and we have informed the concerned product team about this as well. They will be fixing it. An SLA for this is not available right now but I will update this thread with the SLA details whenever they are available.

Also as a temporary workaround, you can consider simply logging this error and not breaking the flow of your app in case the error block gets executed for this particular case.

Hope this helps.

3 Likes

Alright, Thanks for your update

1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.