Dave Hodgson
Posts: 0
Joined: Thu Feb 27, 2014 12:50 am

Looking for some help troubleshooting the geocoding app tutorial.

I am fairly new to coding but I am trying to use this for a school project.

I followed the tutorial point by point but when it comes to testing the request parameters, they don't appear to show up like the screenshot in the tutorial. All I can see is "data" which seems to be locked, and "Content-type".

Am I missing a step somewhere? Or is this more complicated than it seems?

Thanks!... here is the tutorial link btw:

http://docs.appery.io/tutorials/build...

Dave Hodgson
Posts: 0
Joined: Thu Feb 27, 2014 12:50 am

Looking for some help troubleshooting the geocoding app tutorial.

Thanks for the response!

This tends to be the result no matter what I do to try and fix it:

{
"status":"400 Bad Request",
"url":"https://api.appery.io/rest/1/code/252...",
"response":{
"code":"SCSX014",
"description":"Script execution failed. Details have been added to Trace tab."
}
}

I copied and pasted the server code and inserted by databaseID. It does not appear to connect though and show "radius, latitude and longitude" in the Request tab of the geocoding service like the tutorial.

Dave Hodgson
Posts: 0
Joined: Thu Feb 27, 2014 12:50 am

Looking for some help troubleshooting the geocoding app tutorial.

I think that error message also reflects what is happening in the console that it fails to load the resource... I just checked:

POST http://appery.io/app/rest/html5/testC... 400 (Bad Request) main.js:81

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Looking for some help troubleshooting the geocoding app tutorial.

Hello Dave,

Did you check Trace tab? Are there any errors?

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Looking for some help troubleshooting the geocoding app tutorial.

I'm having a bit of trouble with this tutorial app too. I've followed it to the point where this shows ...

http://screencast.com/t/2fmBruXP

... instead of ...

http://screencast.com/t/vpG3a0qjdVo

Also, I cannot replicate http://screencast.com/t/U6UvukCQeyZX even after going to the library vendor's docs. The closest I get is

http://screencast.com/t/LaqDFXo6

Is this a later version of the collapsible set control which will work properly?

Thanks very much.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Looking for some help troubleshooting the geocoding app tutorial.

Hello Robert.

Do you talk about this section of document: http://docs.appery.io/tutorials/build...?

There are described two services.

1 Geolocation service. http://docs.appery.io/wp-content/uplo...

2 Geocoding service. http://docs.appery.io/wp-content/uplo...

The second service calls the server script that’s been created. Choose Create New Server Code Services, choose “Geocoding” from the list. Click “Import selected services,” and then rename the service to “GetCustomersWithinRange” for convenience. Open the newly created service, and check the request parameters as follows:

So you have confused these two services.

Please delete the one you have created and create first and second services as described in the document.

What about second problem - you just have other theme in your settings.

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Looking for some help troubleshooting the geocoding app tutorial.

Good morning Alena.
Regarding second problem: I get better results with another theme, although (and I assume this is as expected) I see no property to change header text.

Regarding the second problem: I've tried deleting the old and replacing with new - but still no luck. One thing that is peculiar is that when I try to change the name to GetCustomersWithinRange, the field seems erase and then allows the characters I type. In any case this is the window I get (that does not match the one in the tutorial).

http://screencast.com/t/6Z2VFsuKjkC

I've got a meeting this morning, but let me know if a movie of what I'm doing would be helpful.

Thanks very much.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Looking for some help troubleshooting the geocoding app tutorial.

Hi Robert,

Please follow the tutorial. The second service should be based on server code: Create New - Server Code Services, choose “Geocoding” from the list ('Geocoding' is a name of the script you have created beforehand). Request parameters should be added manually. Delete the default ones and set 'radius', 'longitude', 'latitude'. Then follow the tutorial please.

RobertJay
Posts: 0
Joined: Fri Jun 15, 2012 1:32 pm

Looking for some help troubleshooting the geocoding app tutorial.

That's exactly what I have been doing, but as you see below the fields for adding new parameters and deleting defaults is greyed and not available. I assume you're saying that the tutorial was (very) recently followed successfully?

http://screencast.com/t/cjhCxdfTOH

Return to “Issues”