-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json.lua:685: nil passed to JSON:decode() #23
Comments
This error occurs when you target service isn't running properly. Test your POST call to specified url with request body and response type is a lua table (JSON):
If still facing this issue go to
|
Hello, my target service is running fine @apurvajain. I am adding the condition you have given. Is there any problem if we get that 'nill' error? |
@anassolanki I am also getting the same error while calling api deployed on k8s but its working fine if I connected to local spring boot application API. have you got any solution for above issues ? |
Can someone help me out to solve this error.
2020/01/31 10:28:31 [error] 2331#0: *1515852 [kong] init.lua:687 /usr/local/share/lua/5.1/kong/plugins/middleman/json.lua:685: nil passed to JSON:decode(), client: 127.0.0.1, server: kong, request
The text was updated successfully, but these errors were encountered: