-
Notifications
You must be signed in to change notification settings - Fork 68
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
Unexpected character ('<') error processing Java SDK response payload #268
Comments
I'm experiencing the same issue. This is happening on user update calls. Had several occur at 6:20, 6:29, and 6:34 pm CST on Jan 09, 2020. It seems to be very intermittent issue but I can't identify a cause.
|
customer's error message: 2020-01-08 10:56:52,447 [blendernetworks] [173.230.149.47] [pool-3-thread-2660] WARN SsaIntercomEventTask:e= error{code='unprocessable_entity', message='could not parse error response: [Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@338c1002; line: 1, column: 2]] logged with code [ee6a7dd7b27107b3]'} io.intercom.api.Error@76200492 |
Customer wrote in again looking for updates "Please don't forget to keep me posted regarding the intermittent API issue . It's important because requests are not being handled and data integrity is damaged." |
I am seeing this as well - I think that occasionally we get an error page with HTML, which starts with a '<' rather than JSON characters. There were 4 events in the latest <storm, 2 at 2020-02-19T01:00:48.521Z and 2 at 2020-02-19T01:00:41.426Z. It would be awesome to cut these off my list of alerts. |
It also happened to me as well. Handling JsonParseException by myself is quiet strange to me, (code readability point of view) |
Happens to me as well. |
Anyone has solution? |
@JialieY you need to use restTemplate.getInterceptors() |
getting error com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') |
Has anyone found a fix to this error? |
Any solution for this issue??? |
This error does not occur consistently but there have been multiple reports of it. It possibly happens when the API times out and we try to parse the response. We should handle this case more gracefully.
Logs
The text was updated successfully, but these errors were encountered: