Skip to main content
0 votes
0 answers
15 views

S3 access via CLI ok but certificate error via Python Boto3

I have been accessing an S3 bucket without any problems from within an Azure VM. Using the CLI console via terminal and I can do it easily. But via boto3/python, I get: ssl.SSLCertVerificationError: [...
James Gil's user avatar
-1 votes
1 answer
24 views

Issue reading lists from parquet file into a dataframe showing as None on MacOS but working for Windows

I have a number of parquet files with pricing data, the bid and ask prices and sizes are stored as a list of float values e.g. bidprices \ 0 [4....
CSG's user avatar
  • 1
1 vote
0 answers
37 views

Mocking boto3 client response

I am trying to build unit tests for my calls to dynamodb. I need to specify exactly what the client instance will respond with - to replicate a failure response from AWS. I can force failure responses ...
Kottok Motors's user avatar
0 votes
0 answers
17 views

How to bypass a proxy using urllib3 (boto3 s3)

I am trying to bypass a proxy using boto3 s3 get_object. I know boto3 uses urllib3 exclusively under the hood but post 2022 there is no support for the no_proxy env variable. How can I bypass a proxy ...
hp hp's user avatar
  • 1
0 votes
0 answers
47 views
+100

How to ManifestStaticFilesStorage with django-storages, boto3 on DigitalOcean Spaces Object Storage?

Context: I am running Django==5.1.2. I need to have cache busting for my static files on prod. On dev, my settings are like so STORAGES = { "default": { "BACKEND": &...
ONMNZ's user avatar
  • 298
2 votes
1 answer
27 views

AWS SDK (Boto3) create_vpc_attachment` call fails with "Incorrect input" when passing valid parameters

I'm using AWS SDK (Boto3) to create a VPC attachment to a core network using the create_vpc_attachment API. However, I keep receiving the following error: Error creating VPC attachment: An error ...
Palma palermo's user avatar
1 vote
1 answer
21 views

MediaConvert client.create_job() doesnt work for some reason

i have come up with this code so far: # Initialize a MediaConvert client client = boto3.client('mediaconvert', region_name='us-east-1') job_settings = { "Queue": "arn:aws:...
Marcus's user avatar
  • 137
0 votes
0 answers
21 views

How to resolve S3.Client.upload_fileobj resulting in ssl.SSLCertVerificationError - certificate verify failed: unable to get local issuer certificate?

We are running Python code on a Docker Image (--platform=linux/amd64) that is resulting in an SSL error - seemingly some sort of SSL certificate is failing when trying to upload a JSON file to an S3 ...
Ali Sakanak's user avatar
1 vote
0 answers
21 views

AWS Connect start_contact_evaluation not working via Boto3

I tried calling the start_contact_evaluation method of boto3 in Python SDK but it returns an error: > botocore.errorfactory.InvalidParameterException: An error occurred (InvalidParameterException) ...
umad's user avatar
  • 33
0 votes
1 answer
25 views

Polly boto3 exception: The security token included in the request is invalid

I want to use Amazon Polly with boto3 for TTS with Ssml support. When I try to run this code, I get the error botocore.exceptions.ClientError: An error occurred (UnrecognizedClientException) when ...
Joe's user avatar
  • 11
0 votes
1 answer
30 views

Downloading Imagery Tiles from Amazon S3

So....NOAA used to host post-hurricane tiles in-house where they were really easy to download using a Python script and the appropriate tile index layer. Recently, NOAA has moved those imagery ...
Ken Gaines's user avatar
-1 votes
2 answers
44 views

Django Static Files Not Uploaded Properly to Digitalocean Spaces using S3 [duplicate]

I am working on a django project v5.1 and as always I use digitalocean spaces for my static and media files. Here is the default configuration I always use: INSTALLED_APPS = [ 'django.contrib....
Kaïss Bouali's user avatar
0 votes
1 answer
41 views

Reverse file versions in S3 bucket

I have a file in S3 which will have several versions. I was able to list all versions of the file using boto3 library and display it but I want to reverse the oldest version first so that I can pick ...
sanju's user avatar
  • 49
0 votes
1 answer
91 views

ValidationException: Unable to Process Provided Image in Amazon Bedrock Converse API Call

I'm using boto3 to interact with the Amazon Bedrock runtime API, trying to submit both text and an image (in base64 format) to the converse operation. However, I'm getting the following error: ...
Nathan Bennett's user avatar
-1 votes
1 answer
41 views

How to use boto3 to find IOPS specs for AWS instance store volumes

I'm having trouble programmatically finding the IOPS specs for AWS instance store volumes, such as im4gn or m7gd. Seems like it should probably be found in the ec2 describe_instance_types method, ...
Craig Nelson's user avatar

15 30 50 per page
1
2 3 4 5
525