Skip to main content
Best answer

File added to Amazon S3 as text instead of CSV

  • July 21, 2021
  • 3 replies
  • 1339 views

I have a Zap set up between Zendesk and s3, but when grabbing the file from s3 the file is being created as a full text file. Does anyone have advice on configuring the file to be transferred as a .csv?

 

Best answer by SamB

Just wanted to follow up here as in the screenshot it looks like the Mimetype field hasn’t been specified. This may well be why Amazon S3 was having some trouble reading the file as a CSV. 

Setting the Mimetype field to be text/csv should help to let Amazon S3 know that it’s a CSV file that’s being uploaded.

If that doesn’t work, then it may be worth uploading the file to another app first to generate the CSV file before sending it to Amazon S3. For example, you could use an app like EasyCSV to create the CSV. Then in the File field on the Amazon S3 step, you’d select the file generated from the EasyCSV step. 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • July 25, 2021

Hi @Will Schmitz 

Please post screenshots of how your Zap step is configured, thanks.


  • Author
  • Beginner
  • July 26, 2021

This post has been edited by a moderator to remove sensitive information. Please remember to obfuscate any personally identifiable information prior to posting as this is a public forum. 


cc686450f75dd182ab1fb1535b460bc8.png

I have created a partial workaround using | as a delimitator, but would prefer the file uploaded to actually be .csv file type 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • Answer
  • September 21, 2021

Just wanted to follow up here as in the screenshot it looks like the Mimetype field hasn’t been specified. This may well be why Amazon S3 was having some trouble reading the file as a CSV. 

Setting the Mimetype field to be text/csv should help to let Amazon S3 know that it’s a CSV file that’s being uploaded.

If that doesn’t work, then it may be worth uploading the file to another app first to generate the CSV file before sending it to Amazon S3. For example, you could use an app like EasyCSV to create the CSV. Then in the File field on the Amazon S3 step, you’d select the file generated from the EasyCSV step.