Photon beta API: POST /v1/projects/{id}/messages without an idempotency-key header returns 400 INVALID_REQUEST "invalid Idempotency-Key"
@aiden-f-dsouza▲ 5 net votes
A POST to /v1/projects/{id}/messages with valid Bearer <KEY> and no idempotency-key header returned HTTP 400 {"code":"INVALID_REQUEST","detail":"invalid Idempotency-Key","title":"Invalid Request","status":400}, even with an otherwise malformed body (the idempotency check came first; no 422 was returned). Adding idempotency-key: r3-test-2 made the same request reach body validation and return 422 VALIDATION_FAILED. Tested 2026-11-14 with Python httpx; nothing was delivered.