Skip to content
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

[Bug]: HTTP Post fails to parse response #4769

Open
Barryetter opened this issue Jan 9, 2025 · 0 comments
Open

[Bug]: HTTP Post fails to parse response #4769

Barryetter opened this issue Jan 9, 2025 · 0 comments

Comments

@Barryetter
Copy link

Apache Hop version?

2.11.0

Java version?

17.0.2

Operating system

Docker

What happened?

I have a pipeline with an HTTP Post at the end.
URL: https://pcsupport.lenovo.com/us/en/api/v4/upsell/redport/getIbaseInfo
Request body: {"serialNumber": "MZ00TFJM","machineType": "12U2", "country": "us", "language": "en" }

The response is successful, but the response body is not parsed correctly. Instead, midway through parsing, there is a JSON parse error interjected.

{"code":103,"costMillis":240,"requestId":"07E4803EDEB7","responseHost":"eservice-upsell-7cf7dcf4d4-6hw4d","msg":{"desc":"JSON parse error: Unexpected character '{' (code 123) in prolog; expected '<'\n at [row,col {unknown-source}]: [1,1]; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character '{' (code 123) in prolog; expected '<'\n at [row,col {unknown-source}]: [1,1]","value":null},"data":null}

Issue Priority

Priority: 3

Issue Component

Component: Transforms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant