I am facing issue on data storage feature available in Freshdesk SDK. When am trying to retrieve or set value in db, am getting the below error. Please help me find out what’s wrong.
Note : I tried after clearing cache and still gives same error
Error - {"message": "Route not allowed", "status": 404}
Can you try to clear the .fdk directory in your app, stop the server, start it and see if it works.
Make sure your key(ticket:123) resides in .fdk/localstore
I have cleared my .fdk directory and stopped the server several times. We checked this with another machine also. I even tried creating a new fdk create command to create the app. The same error.
Not only retrieving the data but we also not be able to store the data in the first place. I will add the link for the app code.
I was able to reproduce the same bug in my local machine. Cross checked regarding this with the team and it seems like it’s not intended! I have notified about this and the team is already working on fixing it. I will let you know once the fix is rolled out in this same thread so that you can upgrade the FDK version and verify it!