I have ran into another issue regarding this custom app.
It appears that after making the above mentioned changes, it would allow the post request to be made successfully. After validating the app and packaging it to install, I installed the application in my sandbox environment. Now I am back to getting a 500 error.
If I run the application locally and use ?dev=true on a ticket, then execute the application it functions just fine. Is anyone aware of limitations to app behavior when installed through the developer portal in a freshservice sandbox environment?
Since this app needs to be throughly tested before installing into my production environment I was hoping to be able to see it function as intended in our sandbox environment beforehand.
In this screen shot you can see the application installed (top), and it also installed locally using the fdk test environment (bottom). Successful using locally ran app (first group of console logs), fails using installed application (last group of console logs).
I would really like to test the installation and use in the sandbox before installing our production environment as to minimize the risk of agents using the application inadvertently prior to its full release.
Thank you for any help provided.