image for site

Why Zendesk JSON Export Isn't Valid JSON

Learn why your Zendesk JSON export isn't valid and how to fix it. Tips for handling large JSON files and using JSON Validators.

Why is my full JSON export from Zendesk not valid?

Your full JSON export from Zendesk might not be valid because the file is too large. While the entire file isn't valid JSON, each line within it is valid JSON. This can make it difficult to open in a text editor without crashing. To handle this, you can use your computer's terminal to work with the file.

To open a JSON file, navigate to the directory where your export file is located and enter the commandhead -1 filename, replacing 'filename' with your actual file name. For example,export-2019-03-18-1755-803744-360005036874bd48.json. You can then copy and paste the result into a JSON Validator like jsonlint.com to check the data format. If the file isn't too large, it might be in NDJSON format, which requires editing the JSON output into an array. For more details, check out the article on exporting data to a JSON, CSV, or XML file.


More related questions

How can I open a large JSON export file from Zendesk?

To open a large JSON export file from Zendesk, you might need to use your computer's terminal. Large files can crash text editors, but each line in the file is valid JSON. First, navigate to the directory where your export file is located. Then,…

What is NDJSON and how does it relate to Zendesk exports?

NDJSON, or Newline Delimited JSON, is a format that might be used in your Zendesk exports. If your JSON export isn't valid, it could be due to this format. In NDJSON, each line is a separate JSON object, which means the entire file isn't a single…

Who can export data to JSON, CSV, or XML in Zendesk?

In Zendesk, only admins have the ability to export data to JSON, CSV, or XML files. This restriction ensures that only authorized users can access and manage data exports. If you're an admin, you can export data by navigating to the appropriate…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites