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

Invalid JSON in contentful-import-error-log-XY.json #1111

Open
backflip opened this issue Apr 29, 2024 · 0 comments
Open

Invalid JSON in contentful-import-error-log-XY.json #1111

backflip opened this issue Apr 29, 2024 · 0 comments

Comments

@backflip
Copy link

The auto-generated error log file seems to contain invalid JSON in my case:

{"ts":"2024-04-29T07:12:39.750Z","level":"error","error":{"name":"UnresolvedLinks","data":{"status":422,"statusText":"Unprocessable Entity","message":"Validation error","details":{},"request":{},"requestId": "123"}}}
{"ts":"2024-04-29T07:17:41.770Z","level":"error","error":{"name":"UnresolvedLinks","data":{"status":422,"statusText":"Unprocessable Entity","message":"Validation error","details":{},"request":{},"requestId": "123"}}}
//...

(I have simplified details and request to {} for readability reasons.)

I think it is missing wrapping [] and commas between the entries. Or is this some kind of special format I would need a custom parser for?

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

No branches or pull requests

1 participant