Passer au contenu

Error: At least one of the pre-conditions you specified did not hold

0

I'm having a very strange issue with SES, I keep getting the error "At least one of the pre-conditions you specified did not hold" and I don't know what exactly goes wrong.

The message I try to send is here:
https://gist.github.com/yellow1912/9a102ae452b6c77a7b8e5d7020f0eb5d

I'm following the format specified here:
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-using-sdk-php.html

If anyone has any clue at all, I would really appreciate it.

1 réponse
0

The issue was that I was using the wrong region for ses client. For some reason due to a configuration mishap a S3 region was used instead ('s3.us-east-1'). The extra s3 caused the issue.

répondu il y a 7 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.