IDEMPOTENCY_KEY_MISSING
Endpoints that add to a member’s history, like POST /v1/history/movies, refuse to run without an Idempotency-Key:
without one, a request retried after a timeout would log the same play twice.
How to fix it
Section titled “How to fix it”Generate a fresh value for each new play (a UUID is ideal) and send it as a header:
Idempotency-Key: "8e03978e-40d5-43e8-bc93-6894a57f9324"When you retry the same request, send the same key. See Writing data.