325 questions
1
vote
0
answers
50
views
How to use API key to search in AWS Locations Place Index I don't manage?
TL;DR Has anyone been able to get AWS Location Place Index working with PHP SDK & API Key without a custom Place Index?
AWS Location service recently dropped the requirement to provision your own ...
0
votes
0
answers
52
views
OpenSearch PHP Client: 404 Error on Document Insertion in Production instance (Serverless)
Problem
I'm experiencing a 404 NotFoundHttpException when trying to insert documents into an OpenSearch products index using the opensearch-project/opensearch-php client in a Laravel application, but ...
0
votes
0
answers
43
views
Laravel 12 - AWS manifest.json not found
I'm working on a project in Laravel 12, that uploads to AWS S3 storage, every time I upload with Storage:disk('s3')... I get an error that the manifest.json file was not found in the aws package. ...
1
vote
1
answer
364
views
AWS SDK PHP – How to add Content-MD5 for PutBucketLifecycleConfiguration?
I'm using AWS SDK for PHP (Version 3) to configure S3 bucket lifecycle rules via PutBucketLifecycleConfiguration. However, I’m getting the following error:
Aws\S3\Exception\S3Exception: Error ...
-1
votes
1
answer
36
views
Error: Call to undefined method AwsCommand::getMetricsBuilder() PutObject - during file upload to s3
Using latest version of aws-sdk-php, while uploading object to s3. Getting
"error": {
"type": 1,
"message": "Uncaught Error: Call to ...
0
votes
0
answers
20
views
AWS php SDK issue while using for Pinpoint t sms
When I use AWS php SDK for pinpoint sms api sometimes it's getting sms from a number other than AWS not that the same content that I have given. and I think it's not from AWS , how to solve this and ...
0
votes
0
answers
148
views
How to enable S3 transfer acceleration on presigned POST
I enabled transfer acceleration for an s3 bucket using the aws PHP sdk, I was able to create a presigned download URL that uses transfer acceleration using the following code:
use Aws\S3\S3Client;
$...
0
votes
1
answer
201
views
AWS Token Issue with Bref and Laravel on Lambda: Invalid Configuration Value for 'token'
I am using Bref to run Laravel on AWS Lambda, and here is my serverless.yml configuration:
service: lambdajob
provider:
name: aws
# The AWS region in which to deploy (us-east-1 is the default)
...
1
vote
1
answer
249
views
AWS cognito refreshToken error "Invalid Refresh Token"
User login using API we get AccessToken, RefreshToken and IdToken.
AccessToken works only for 1 hour set on the App Client period.
Based on RefreshToken we can get a new AccessToken & RefreshToken....
1
vote
0
answers
150
views
How do I list objects from public AWS S3 buckets using aws-sdk-php (v3.305.1) using anonymous clients?
So I have a public bucket which can directly be access by a link (can see the data if I copy paste that link on the browser).
However, when I try access the bucket via aws-sdk-php (v3.305.1) library ...
3
votes
1
answer
3k
views
How to fix a cURL error 60: SSL certificate problem using a PutObject in AWS
First and foremost, I am a total noob when it comes to using Amazon's SDK for PHP so bare with me. I am trying to follow along with a video tutorial on how to upload a file to an AWS S3 bucket using ...
0
votes
1
answer
419
views
aws-sdk-php -- Unable to parse error information from response - Error parsing JSON: Syntax error"
trying to send a sqs on php using aws-sdk, trying to hit a localhost endpoint, we have some lambda functions running on localhost.
This is the client
$this->client = new SqsClient([
...
0
votes
1
answer
1k
views
Bedrock API returns empty body
I'm usng AWS PHP SDK to call bedrock API. Here is the code:
$this->bedrockRuntimeClient = new BedrockRuntimeClient([
'region' => $region,
'version' => $version,
'...
0
votes
1
answer
135
views
Pre-Signed URL for S3 Bucket URL: Options Available
I am able to generate presigned URL for an S3 object using php. But it has X-Amz-Credential parameter which contains AWS Access Key ID as value; Is it Ok? Can we generate pre-signed url without this ...
0
votes
1
answer
223
views
AWS SignatureV4 - Request Signature sometimes does not match?
We are using AWS SignatureV4 to make requests to an API Gateway using the IAM authoriser and are finding that signing only works some of the time...
We are signing requests using the AWS SDK.
$...