-
Notifications
You must be signed in to change notification settings - Fork 101
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] invalid character 'þ' looking for beginning of value #977
Comments
I have the same problem. Someone solved it? |
it is an invalid json as the error message says, you can see this error in any json parser. Should be
|
Hiya. Sorry for the delay in getting back. As you can see in the below screenshot, the endpoint require additional setup / headers. The output contains random characters at the beginning of the response. I would recommend to refer their API documentation on how to use it via curl and apply the same principles here. |
Describe the bug
When calling a JSON API where the response is a raw file containing JSON payload the plugin does not handle it very well and throws a strange error that does not help diagnose the issue. The error actually comes through as "error while performing the infinity query. unable to parse response body as JSON. invalid character 'þ' looking for beginning of value" which causes confusion.
This took me a while to see what was the issue here as Postman nicely silently handles it if the file is streamed to me and renders the JSON with no issues. However, infinity on the other hand does not and throws a error as above.
Steps to reproduce
Provide steps to reproduce the issue.
Create new backend JSON query pointing to the AWS Health announcements API aka "https://health.aws.amazon.com/public/currentevents".
Sample Data
This data changes regular, due to the fact its health status orientated.
[]
or when there is something
Screenshots
Version Details:
The text was updated successfully, but these errors were encountered: