fatsecret / fatsecret4j

Java/Android Client for using Fatsecret REST API
http://fatsecret4j.com
Apache License 2.0
12 stars 17 forks source link

some recipe is not loading? #17

Open Sourabh8037 opened 3 years ago

Sourabh8037 commented 3 years ago

org.json.JSONException: No value for recipe_images please guide me on what to do !

Sourabh8037 commented 3 years ago

Caused by: org.json.JSONException: No value for recipe_images at org.json.JSONObject.get(JSONObject.java:399) at org.json.JSONObject.getJSONObject(JSONObject.java:619) at com.fatsecret.platform.utils.RecipeUtility.parseRecipeFromJSONObject(RecipeUtility.java:53) at com.fatsecret.platform.services.android.Request$1.onResponse(Request.java:198) at com.fatsecret.platform.services.android.Request$1.onResponse(Request.java:156) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29) at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:227) at android.app.ActivityThread.main(ActivityThread.java:7822) at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)