Solved

Export Api send response with unreadable data.

  • 1 June 2023
  • 1 reply
  • 120 views

Hi! I have some trouble with data whice I recive from API. When I get data from Export API the data are unreadable or encoded. 

Response header contain Content-Type: application/zip.

And it’s no matter how I get data use Postman or code. The response always the same.

icon

Best answer by Saish Redkar 1 June 2023, 17:46

View original

1 reply

Userlevel 7
Badge +10

Hey @Vadym Bodniuk 

Export API’s response is always a zipped archive of JSON files. Most commonly they are categorized into single files per hour of the day distributed across several zipped folders across the days in your time range. Depending on your event data volume, there can be several files per hour. So to get your final event data you will have to download these files to a location and unzip the JSON files. I usually run a curl command on my terminal to do this instead of Postman.

Hope this helps.

Reply