1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
Are the contents of the JSON file registered one line for each object?
https://repost.aws/knowledge-center/error-json-athena
In other words, if there is not a line break for each object in the file as shown below, such an error may occur.
{"topic": "ad","timestamp": 1718465649,"ad": {"id":"8e9e5198-baec-4c7d-9372-cf5744a66789","uid":"19a16a01-9e62-40fe-a93c-665e6da51bb6"},"browser": {"user_agent": "Mozilla/5.0 (Linux; Android 13; SM-G991B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36"}}
{"topic": "ad","timestamp": 1718465649,"ad": {"id":"8e9e5198-baec-4c7d-9372-cf5744a66789","uid":"19a16a01-9e62-40fe-a93c-665e6da51bb6"},"browser": {"user_agent": "Mozilla/5.0 (Linux; Android 13; SM-G991B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36"}}
Relevant content
- asked 9 months ago
- Accepted Answerasked 4 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago