Does this mean I can’t use buckets without prefixes together with the S3 prefect tasks?
k
Kevin Kho
04/06/2022, 4:16 PM
Ah I think we’d take a PR to fix that. Maybe you can try empty string as a workaround?
👌 1
f
Fina Silva-Santisteban
04/06/2022, 4:19 PM
@Kevin Kho I tried that and it returns this error (which makes sense):
Copy code
botocore.errorfactory.NoSuchBucket: An error occurred (NoSuchBucket) when calling the ListObjectsV2 operation: The specified bucket does not exist
Ok I’ll use the boto3 api directly then! So far not having the best experience with prefect tasks: snowflake tasks and s3 tasks are a womp womp for me 😓
Fina Silva-Santisteban
04/06/2022, 4:31 PM
@Kevin Kho UPDATE: the workaround with the empty string actually worked!! Sorry about that, I had a typo in the bucket name when I initially tried that 😅
k
Kevin Kho
04/06/2022, 4:34 PM
Ah ok I was wondering why that would cause a wrong bucket, but thought i just didnt understand something. Glad you got it working
🙏 1
👌 1
f
FuETL
04/06/2022, 6:52 PM
@Kevin Kho Can i open PR to assign default prefix to empty string?
k
Kevin Kho
04/06/2022, 6:54 PM
Yeah man go for it. I think that makes sense! Have you done it before? Give it a try and ask me if you need anything?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.