James Skip Gilleland
Posts: 0
Joined: Wed Jun 04, 2014 11:50 pm

404 Status not Found Issue

I have an API that when using I am getting the following in the "Response" after I test. Here is the API info

http://www.ivolleytech.com/api/getpla...

Parameter "userid=18512"

Here is the response....

{
"status":"404 Not Found",
"url":"http://www.ivolleytech.com/api/getpla...",
"response":{
"status":"1",
"message":[
{
"id":"6",
"title":"Hitting Videos",
"total_videos":"1"
},
{
"id":"7",
"title":"Drill Videos",
"total_videos":"0"
},
{
"id":"47",
"title":"cameron to watch",
"total_videos":"3"
},
{
"id":"55",
"title":"Offense-Middle",
"total_videos":"2"
},
{
"id":"56",
"title":"cover",
"total_videos":"1"
},
{
"id":"57",
"title":"Base to Read",
"total_videos":"1"
},
{
"id":"60",
"title":"Defense",
"total_videos":"0"
}
]
}
}

This is the response when you put this into the browser....http://www.ivolleytech.com/api/getpla...

{"status":"1","message":[{"id":"6","title":"Hitting Videos","total_videos":"1"},{"id":"7","title":"Drill Videos","total_videos":"0"},{"id":"47","title":"cameron to watch","total_videos":"3"},{"id":"55","title":"Offense-Middle","total_videos":"2"},{"id":"56","title":"cover","total_videos":"1"},{"id":"57","title":"Base to Read","total_videos":"1"},{"id":"60","title":"Defense","total_videos":"0"}]}

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

404 Status not Found Issue

Hi James.

I've tested your service.

And found following result:

http://prntscr.com/3prt0n/direct

So your external HTTP handler returns this 404 http status in both cases(when testing directly in browser with URL and in Appery.io service).

So you should contact provider for this service and ask about this problem.

Also you can ignore this error in Appery.io and use "Complete" event handler to handle the result.

Regards.

James Skip Gilleland
Posts: 0
Joined: Wed Jun 04, 2014 11:50 pm

404 Status not Found Issue

So I don't have anything fixed? I can use it the way it is?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

404 Status not Found Issue

James.

Yes, Appery.io platform allows you to use this HTTP handler even when it returns 404 error.

Just add "complete" event handler to your service datasource and fill it with following code: http://prntscr.com/3ps5qk/direct

precode

var response = jqXHR.responseText;

var responseObject = JSON.parse(response);

//Here you can use "responseObject" object in accordance with your need.
console.log(responseObject);

/code/pre

Regards.

James Skip Gilleland
Posts: 0
Joined: Wed Jun 04, 2014 11:50 pm

404 Status not Found Issue

any other ideas how to get by the Status? The developer doesn't know what the issue is. I am new to developing and like the feature of Appery that will create a sample response.

Thanks

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

404 Status not Found Issue

Hello James!

Have you tried suggestion from Yurii?

James Skip Gilleland
Posts: 0
Joined: Wed Jun 04, 2014 11:50 pm

404 Status not Found Issue

I haven't because I don't understand where to do that! :-(

James Skip Gilleland
Posts: 0
Joined: Wed Jun 04, 2014 11:50 pm

404 Status not Found Issue

here is what I have done...I don't know where to go from here Image

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

404 Status not Found Issue

Hello,

Test your app in browser on Preview, open Developer tools (F12) and check errors in console when you execute this Service.

Return to “Issues”