Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Json Error "org.json.JSONException: End of input at character 0 of " [duplicate]

I get some information facebook api and i will parse with Json.But when run the program i am getting org.json.JSONException: End of input at character 0 of error. When i debug i see "Bad Request" to response.

Do you have any idea?

like image 544
DuyguK Avatar asked Jan 23 '26 10:01

DuyguK


1 Answers

You are probably getting a blank response. Its not null but the response is empty. So you are getting this error and not a Nullpointer exception.

check for some proxy issues. Is the url exposed on the internet?