Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [botocore]

A low-level interface to a growing number of Amazon Web Services. The botocore package is the foundation for AWS-CLI and Boto 3.

-2 votes
0 answers
95 views

Why do I get "access denied" for signed image URL's for S3 objects with spaces in file names?

I am using CloudFront signed URLs. I already have S3 objects. My code generates the signed URL, but images with white spaces in file names cannot be retrieved, and other images also fail to load. from ...
Ben ahmed Mansour's user avatar
0 votes
0 answers
34 views

Botocore.exceptions.DataNotFoundError: unable to load data points for : glue

I’m working on migrating aws glue etls from v2 to v4. While creating glue client i’m getting error botocore.exception data not found: unable to load data points error. Failing at botocore—> loaders....
Malvika Garg's user avatar
0 votes
0 answers
33 views

Glue job with Bedrock not running in parallel

I am writing a Glue job to process a pyspark dataframe using Bedrock which was recently added to boto3. The job will get sentiment from a text field in the dataframe using one of the LLMs in Bedrock, ...
ddd's user avatar
  • 4,969
0 votes
0 answers
27 views

List all available Data Products and their metadata available in AWS Marketplace

AWS Marketplace has a number of different datasets available in their 'Data Products' category https://aws.amazon.com/marketplace/b/d5a43d97-558f-4be7-8543-cce265fe6d9d?ref_=mp_nav_category_d5a43d97-...
BiggestPotato's user avatar
0 votes
0 answers
29 views

botocore package not found though installed in linux ec2

I have installed python package boto and botocore using pip on linux ec2 instance. But I am not finding these packages under /usr/lib/python3.9/site-packages/. If I do "pip show botocore" ...
Poojitha Nv's user avatar
0 votes
1 answer
98 views

Does `amz-sdk-invocation-id` header provide idempotency for aws api calls?

So, I was looking at the source code for botocore and it seems that botocore adds a request header called amz-sdk-invocation-id in the headers in a function called add_retry_headers. Does this mean ...
Siam Habib's user avatar
0 votes
1 answer
112 views

botocore.eventstream.InvalidHeadersLength

I am trying to invoke Bedrock agent using boto3, and I am getting the following error: botocore.eventstream.InvalidHeadersLength: Header length of 1953527156 exceeded the maximum of 131072 Here is ...
Alexey Zelenkin's user avatar
0 votes
1 answer
488 views

ERROR - Runtime.ImportModuleError: Unable to import module 'main': No module named 'botocore.vendored.six.moves'

I am developing a lambda project using Python Version 3.12 as a programming language. I developed a simple API and when I run the project locally it shows the following error: START RequestId: ...
Link64's user avatar
  • 1
0 votes
0 answers
33 views

Python reading jpg file from s3 unidentified image error

#boto3 version = 1.28.3 #botocore version = 1.31.65 import boto3 from PIL import Image from io import BytesIO s3 = boto3.client('s3') new_obj = s3.get_object(Bucket=bucket, Key="path/to/...
data_person's user avatar
  • 4,366
0 votes
1 answer
664 views

ERROR - Runtime.ImportModuleError: Unable to import module 'main': cannot import name 'DEPRECATED_SERVICE_NAMES' from 'botocore.docs'

I'm supporting a lambda project (python 3.8) and when I run the command "sam local invoke LambdaFunction --event events/get_users.json", it gives the following error `Invoking main....
Link64's user avatar
  • 1
1 vote
0 answers
76 views

Runtime.ImportModuleError unable to import module cannot import module name "DEPRECETED_SERVICE_NAMES" from botocore.docs

I am running my Python code of Lambda runtime Python3.9 and recently I made some changes in the code and deployed those changes, after deploying the changes I am now getting an error saying "...
Rahul Patel's user avatar
1 vote
0 answers
125 views

is there any performance gain in using aiobotocore compared to botocore?

I have dataset in the huggingface format, and i can save that to some s3 path ( sample code below) . aiobotocore is async client, but is there any perfomance gain in using this instead of botocore. ...
kishi's user avatar
  • 125
0 votes
1 answer
72 views

AWS Batch in Privileged mode urllib3.exceptions.ConnectTimeoutError + botocore.exceptions.ConnectTimeoutError

My AWS Batch job in privileged mode has the following issue with boto/botocore: TimeoutError: timed out The above exception was the direct cause of the following exception: urllib3.exceptions....
Vincent Claes's user avatar
1 vote
0 answers
44 views

botocore >= 1.28.0 slower in multithread application

The official Boto3 docs recommends creating a new resource per thread: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/resources.html#multithreading-or-multiprocessing-with-resources ...
gmoss's user avatar
  • 1,067
1 vote
1 answer
108 views

Error in AWS SQS Redrive from Lambda - boto3 AttributeError: SQS client object has no attribute 'start_message_move_task'

I'm trying to execute from an AWS Lambda the method to start DLQ redrive. According to documentation, boto3 version must be 1.34.44 or higher. The lambda has 1.34.9 as boto3 version and Python version ...
eduardosufan's user avatar
  • 1,553

15 30 50 per page
1
2 3 4 5
18