Appearance
pull.bad_request
Refused 400 policyThe pull API request is malformed.
| Outcome | Refused, 400 |
| Source | policy: This bus's operational rules (identity, grants, size, idempotency, story ownership). Not a verdict of the SOM standard. |
| Checked at | Pull API (consumers) (see the order of checks) |
What it means
A query parameter is out of range or unknown (max 1 to 10, wait 0 to 20, visibility 0 to 43200, attempt; the skills call takes none), or an ack or nack body is not { "receipt_handles": [...] } with 1 to 10 distinct handles (and, for a nack, an optional delay_seconds from 0 to 43200).
How to fix it
Fix the request as the message says. Nothing was received, acknowledged or released.
Branch on the rule id, never on the violation's message text. All rules: rule catalogue.