Route Not allowed while trying to get data from client.db.get

While trying to save and retrieve data from database in freshservice i am getting an issue of Route not allowed error status code 404

DB-issue|690x56

and in server.js file i am getting “$db is not defined” error

db-server-issue|690x55

fdk-version : 6.9.5

1 Like

Hi, @Hassan_Tasleem1, welcome to the community!

Make sure you are using the recommended node version, 10.18:

node -v

Then, could you please post your code here, so we can try to figure it out? :smiley:

4 Likes

Hey @Hassan_Tasleem1,

If you are using installation parameters in your app , make sure you go to the http://localhost:10001/custom_configs and give all the values and simulate install by clicking on the install button and then run the app.

Hope this helps!
Stay Safe :slight_smile:

5 Likes

Thanks it works after upgrading the node version from 10.16 -> 10.18.1 :blush:

4 Likes