Skip to content

SingleApi

Internet, programming, artificial intelligence

Menu
  • Home
  • About
  • My Account
  • Registration
Menu

Amazon SES troubleshooting?

Posted on January 13, 2022

Even if we did everything as in Amazon docs, we may get this problem:

An error occurred (SignatureDoesNotMatch) when calling the SendRawEmail operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.

And when we start digging for solution we can find pages like this: https://bobbyhadz.com/blog/aws-cli-signature-does-not-match – and get surprised that the characters in configuration really matters, even if all tools are created by Amazon (aws-cli, or aws-sdk). So 1h of checking policies, creating different SMTP keys can be just solved if in documentation we get that information.

Another thing the example there of raw message is plain one which should work with aws-cli, but if not better use base64 version, and remember that message has end lines (my fault I passed it in IntelliJ and CLI started to raise errors about missing To:). Example of mine:

From: system@example.com
To: user@example.com
Subject: Test email sent using the AWS CLI (contains an attachment)
MIME-Version: 1.0
Content-type: Multipart/Mixed; boundary="NextPart"

--NextPart
Content-Type: text/plain

This is the message body.

--

message.json encoded with base64 -in mail.txt:

{
  "Data": "RnJvbTogc3...Gf=="
}

Sending with cli:

aws ses send-raw-email --raw-message file://message.json --profile sesmail

Recent Posts

  • Claude Code Integration Enhances Autonomous AI Development Workflows
  • Polish AI & Tech Industry Roundup – 2026-02-03
  • OpenAI Codex and Anthropic Claude Code Advancements
  • NVIDIA DRIVE AV and Gemini 3 Flash AI Advancements
  • Polish AI & Tech Industry Roundup – January 31, 2026

Recent Comments

  • adrian on Anthropic Launches Claude Cowork Powered by Claude Code for AI-Driven Workplace Task Automation and Agentic AI Development
  • adrian on Advancements in AI Foundation Models Agentic Frameworks and Robotics Integration Driving Next Generation AI Ecosystems
  • adrian on n8n DrawThings
  • adrian on Kokoro TTS Model, LLM Apps Curated List
  • adrian on Repo Prompt and Ollama

Archives

Categories

agents ai apps automation blender cheatsheet claude codegen comfyui deepseek devsandbox docker draw things flux gemini gemini cli google hidream hobby huggingface hugging face java langchain4j llama llm mcp meta mlx movies n8n news ollama openai personal thoughts quarkus rag release repo prompt speech-to-speech spring stable diffusion tts vibe coding whisper work

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Terms & Policies

  • Comments Policy
  • Privacy Policy

Other websites: jreactor gaming.singleapi

©2026 SingleApi | Design: Newspaperly WordPress Theme
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT