Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG in PHP example #3354

Closed
beqqrry-aws opened this issue Jul 19, 2022 · 1 comment
Closed

BUG in PHP example #3354

beqqrry-aws opened this issue Jul 19, 2022 · 1 comment
Assignees

Comments

@beqqrry-aws
Copy link
Contributor

What is the issue?

PHP Fatal error: Uncaught InvalidArgumentException: Operation not found: GetTemplate in /usr/share/php/vendor/aws/aws-sdk-php/src/AwsClient.php:215
Stack trace:
#0 /usr/share/php/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(78): Aws\AwsClient->getCommand()
#1 /var/www/html/template.php(18): Aws\AwsClient->__call()
#2 {main}
thrown in /usr/share/php/vendor/aws/aws-sdk-php/src/AwsClient.php on line 215

[Provide any additional details here.]

Reported via Documentation Feedback.

@beqqrry-aws beqqrry-aws self-assigned this Jul 19, 2022
@beqqrry-aws
Copy link
Contributor Author

Looks like the user was trying to use SESV2Client whereas the example shows how to use SESClient. The function name changed from getTemplate to getEmailTemplate between the versions. No contact info to alert user with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant