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.
Welcome to the developer community
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?
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.
Can you please follow the below steps and let us know if you are still facing the issue?
- Get the latest code of timer on tap from the mentioned PR
- Run FDK locally with the working directory as the folder where timer on tap is present
- 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
- 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?