Timer on tap same app is running but not working due invalid url


I am testing the sample app called Timer on tap because I am making some modifications. I followed all the steps to run the app locally for development to be connected with a Freshdesk dashboard and the connection is good, but the app itself is not working.

I am getting this error Some error has occured while fetching Agents. every time I press on time_on_tap and the error on catch is returning this.

I also followed the testing steps to fill in the installation parameters before running the app so I have everything according the documentation.

When I print the URL that this timer_on_tap app is trying to connect, I got this.

https://<%= iparam.freshdesk_domain %>.freshdesk.com/api/v2/agents

It looks like the app is not parsing the parameters correctly.

Hi Edgar,
Welcome to the developer community :tada:

Thank you for raising this issue. We had addressed the issues and updated the README.md as well at Fix defects in timer on tap app by mani-vandrangi · Pull Request #271 · freshworks/marketplace-sample-apps · GitHub

Can you please fill the installation params at http://localhost:10001/custom_configs before testing the app in Freshdesk and then let us know if it worked?

Hi Mani,

Thank you for replying.

Unfortunately, I am receiving the same error plus an extra one about bootstrap that requires jquery although I removed the dependency from the startTimer.html to get rid of that error but not the other one.

Hi Edgar,

Can you please follow the below steps and let us know if you are still facing the issue?

  1. Get the latest code of timer on tap from the mentioned PR
  2. Run FDK locally with the working directory as the folder where timer on tap is present
  3. Go to http://localhost:10001/custom_configs and give Freshdesk subdomain( E.g. If the Freshdesk domain is https://test.com, then please enter test) along with API key
  4. Now test the app with your Freshdesk account locally.

Can you please post the screenshot of the errors ( if any ) once you follow the above mentioned steps?