Skip to content

Errors

All error responses share one shape:

json
{ "error": "human-readable message" }

Status codes

StatusMeaning
400Malformed or missing request fields
401Invalid or missing API key
404Resource not found (e.g. unknown session)
409Conflict (e.g. session already used)
410Gone (e.g. session expired)
429Rate limit or monthly quota exceeded
502Upstream failure (e.g. Pi Platform API or your callback_url unreachable)

See each endpoint's page for the specific errors it can return: /verify/init, /verify/status.

Not affiliated with Pi Network or the Pi Core Team.