Open pierot opened 4 years ago
@pierot Would you mind sharing your definition file?
defmodule XXX.Uploaders.Segment do
use Arc.Definition
@versions [:original]
def bucket, do: "XXX"
def gcs_object_headers(:original, _map), do: [content_type: "text/csv"]
def storage_dir(_version, {_file, _scope}), do: "segments/"
end
@pierot this error is happen every time or for specific file? I'm trying to reproduce this. but no luck.
@ammbot I get this every time. The file is a csv as binary.
We recently bumped
arc_gcs
to 0.2. We have some code uploading data each night to Google Cloud Storage. It has been working flawlessly with 0.1.2 for a long time. But after our upgrade we get the following:Results in:
With the following error: