[Python] use boto3 to upload file to s3 boto3.exceptions.S3UploadFailedError: An error...

Discussão em 'Python' iniciado por Stack, Junho 9, 2025.

  1. Stack

    Stack Membro Participativo

    params = dict(service_name="s3", endpoint_url="****",
    aws_access_key_id="****",
    aws_secret_access_key="****")
    s3 = boto3.client(**params)
    response = s3.upload_file(localfile, bucket, key=key)


    boto3.exceptions.S3UploadFailedError: An error occurred (QuotaExceeded) when calling the PutObject operation: Unknown

    Continue reading...

Compartilhe esta Página