Skip to main content
Every error answers with the same JSON body. Here is a call sent with no key:

The body

data has three fields:
  • code is what your app branches on. It stays the same from release to release, while message and fix are for people and may be worded better later.
  • field says where the fault is: a body field’s path (name, meta.checkout, cards[3].key, card.title, actor.id, to, token), the set path parameter, the actor query parameter, or a header (X-Pincast-Key, X-Placecard-Key at the older address, Idempotency-Key). It’s left out when no one field is at fault.
  • fix says what to send instead, in one sentence.
A 500 means something failed on Placecard’s side. Its message is internal server error, and the same call is safe to send again later.

Codes