Join the Bot Libre open source project at BotLibre.org
Bot Libre Forum : Automating your Mobile Presence with a Telegram Bot

RE: Automating your Mobile Presence with a Telegram Bot

by emarkx posted May 10 2023, 17:32

Hello

I am getting these warning while messaging on telegram

2023-05-10 17:11:03.538 - WARNING -- Http:400 : { "error": { "message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)", "type": "invalid_request_error", "param": null, "code": null } }
2023-05-10 17:11:03.539 - WARNING -- Http:400 : { "error": { "message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)", "type": "invalid_request_error", "param": null, "code": null } }
2023-05-10 17:11:03.541 - WARNING -- Http:java.lang.RuntimeException: 400 : { "error": { "message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)", "type": "invalid_request_error", "param": null, "code": null } } at org.botlibre.util.Utils.fetchResponse(Utils.java:739) at org.botlibre.util.Utils.httpPOST(Utils.java:612) at org.botlibre.sense.http.Http.postJSON(Http.java:894) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter
2023-05-10 17:11:03.542 - WARNING -- Http:java.lang.RuntimeException: 400 : { "error": { "message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)", "type": "invalid_request_error", "param": null, "code": null } } at org.botlibre.util.Utils.fetchResponse(Utils.java:739) at org.botlibre.util.Utils.httpPOST(Utils.java:612) at org.botlibre.sense.http.Http.postJSON(Http.java:894) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter
2023-05-10 17:11:08.232 - WARNING -- Http:400 : { "error": { "message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)", "type": "invalid_request_error", "param": null, "code": null } }
2023-05-10 17:11:08.233 - WARNING -- Http:400 : { "error": { "message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)", "type": "invalid_request_error", "param": null, "code": null } }
2023-05-10 17:11:08.235 - WARNING -- Http:java.lang.RuntimeException: 400 : { "error": { "message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)", "type": "invalid_request_error", "param": null, "code": null } } at org.botlibre.util.Utils.fetchResponse(Utils.java:739) at org.botlibre.util.Utils.httpPOST(Utils.java:612) at org.botlibre.sense.http.Http.postJSON(Http.java:894) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter
2023-05-10 17:11:08.236 - WARNING -- Http:java.lang.RuntimeException: 400 : { "error": { "message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)", "type": "invalid_request_error", "param": null, "code": null } } at org.botlibre.util.Utils.fetchResponse(Utils.java:739) at org.botlibre.util.Utils.httpPOST(Utils.java:612) at org.botlibre.sense.http.Http.postJSON(Http.java:894) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter


Id: 47411400
Posted: May 10 2023, 17:32
Replies: 0
Views: 878, today: 2, week: 11, month: 11
0 0 0.0/5