KubeMQ
ConnectorsAWS (SQS & SNS)Reference

Error Codes

The genuine AWS SQS/SNS error codes the KubeMQ AWS connector returns over the AWS JSON and Query wire protocols, with HTTP status, trigger, and scenarios.

The connector emits genuine AWS SQS/SNS error codes over the AWS JSON (SQS) and Query → XML (SNS) wire protocols, so standard AWS SDKs surface them as the normal typed exceptions. You handle them with the same try/catch and error-type checks you already use against real AWS.

Error code table

AWS error codeHTTPTrigger
MissingAction400no / unparseable Action
InvalidAction400unknown action (including all out-of-scope ops: AddPermission, message-move, mobile/SMS, etc.); a GET with Action ≠ ConfirmSubscription
IncompleteSignature400malformed SigV4 (including an unsigned non-ConfirmSubscription request)
InvalidClientTokenId403unknown access key (configured-credentials mode)
SignatureDoesNotMatch403bad signature / clock skew / tampered body
AccessDeniedException403an authorization deny on a data-plane op
NonExistentQueue (AWS.SimpleQueueService.NonExistentQueue)400queue not in the registry
QueueNameExists400CreateQueue with the same name + different attributes
PurgeQueueInProgress403PurgeQueue within the 60 s cooldown
InvalidAttributeName400unknown / KMS attribute on SetQueueAttributes
InvalidParameterValue400bad attribute / oversize batch entry / non-AWSTraceHeader system attribute / FIFO send without MessageGroupId / FIFO per-message DelaySeconds
BatchRequestTooLong400SendMessageBatch aggregate > 262,144 B
ReceiptHandleIsInvalid400receipt handle from another node / malformed
OverLimit403in-flight > MaxInflightPerQueue
InvalidParameter (SNS)400unsupported SNS protocol / Policy set / TargetArn / PhoneNumber / FilterPolicyScope=MessageBody / topic-level ContentBasedDeduplication / MessageGroupId on a standard topic / FIFO-topic non-sqs subscribe
NotFound (SNS)404topic / subscription not in the registry

Common triggers by scenario

ScenarioCode
ReceiveMessage on an empty queue (short poll)none — returns within ~1 s, no messages
SendMessageBatch with one oversize entryper-entry InvalidParameterValue (9 ok, 1 failed)
SendMessageBatch aggregate > 262,144 BBatchRequestTooLong (whole batch)
Receive without delete, visibility expiresnone — redelivery; ApproximateReceiveCount++
DeleteMessage with an unknown receipt handlenone — idempotent success
Receipt handle from another cluster nodeReceiptHandleIsInvalid
In-flight > MaxInflightPerQueueOverLimit
FIFO send without MessageGroupId / with per-message DelaySecondsInvalidParameterValue
FIFO duplicate within the 5-min windownone — the original MessageId is returned, not re-enqueued
Subscribe with FilterPolicyScope=MessageBodyInvalidParameter
Subscribe with an email / sms / lambda / … protocolInvalidParameter
Publish to a topic with zero matching subscriptionsnone — succeeds, message dropped
Publish with MessageGroupId to a standard topicInvalidParameter
FIFO topic Subscribe with http / a non-FIFO queueInvalidParameter
Set a KMS / SSE queue attributeInvalidAttributeName
CreateQueue with the same name + different attributesQueueNameExists
PurgeQueue within the 60 s cooldownPurgeQueueInProgress
Operate on a queue / topic not in the registryNonExistentQueue / SNS NotFound
Unknown access key (configured-credentials mode)InvalidClientTokenId
Wrong secret / tampered body / clock skewSignatureDoesNotMatch
Unsigned request (non-ConfirmSubscription)IncompleteSignature
An authorization deny on a data-plane opAccessDeniedException
Unknown / out-of-scope action (AddPermission, message-move, etc.)InvalidAction
Broker not ready (traffic gate)an AWS-shaped 503

Was this page helpful?

On this page