Exception: Parse::Error::DuplicateRequestError
- Inherits:
-
Parse::Error
- Object
- StandardError
- Parse::Error
- Parse::Error::DuplicateRequestError
- Defined in:
- lib/parse/client.rb
Overview
Raised when Parse Server's request-id idempotency layer rejects a request
carrying a previously-seen X-Parse-Request-Id (Parse error code
Response::ERROR_DUPLICATE_REQUEST, 159). The duplicate was NOT
applied a second time — the original request already succeeded. The SDK
reuses the same request id across transparent retries, so a retried write
that lands but loses its response will surface THIS error on the replay:
treat it as "the write already applied" (re-fetch by your own key if you
need the resulting object — Parse Server does not echo the original
response on a duplicate).
Instance Attribute Summary
Attributes inherited from Parse::Error
Method Summary
Methods inherited from Parse::Error
Constructor Details
This class inherits a constructor from Parse::Error