Geolocation problem
Thank you Maryna, I don't think my db id has changed... the server code matches it seems
Chris
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Thank you Maryna, I don't think my db id has changed... the server code matches it seems
Chris
Did you delete DB with stored coordinates? Have you changed "customers" collection? Please ensure this server code line prevar dbId = "your database id";/pre contains actual data.
Hi Maryna,
I've checked, and the server code matches the database ID that is in the database.And it has the line you mention.
I've just run a test again in the 'getCustomersWithinRange' service and had the following error message:
{
"status":"400 Bad Request",
"url":"https://api.appery.io/rest/1/code/fee...",
"response":{
"code":"SCSX018",
"description":"Execution of the script has exceeded the allowed time and stopped"
}
}
Chris
Hi Chris,
Please check if there is an infinite loop in your script code.
Hi Katya
I can't see one. Have you seen one that I need to remove?
Chris
Hi Chris,
Please share this servercode script with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a - we'll take a look.
Thanks Katya, the app is shared ![]()
Hello!
Tou have shared app, not servercode. Could you also share servercode and post screenshot of "customers" collection?
Hi Maryna, all shared now. Apologies, I couldn't find the share button earlier and thought it was the same as I'd already done!
Can you let me know what you mean by a "customers" collection please?
Cheers
Chris
DB which id you use should contain "customers" collection with specific structure as it shown in here http://docs.appery.io/tutorials/build...
Please post screenshot of collection.