Learn how Peekalink handles errors and the set of error codes returned by our service.
LINK_INVALID_URL
)LINK_INVALID_URL
(400)LINK_MAX_REDIRECTS
(400)LINK_REDIRECTS_TO_ITSELF
(400)LINK_IS_GONE
(410)LINK_CONTENT_ERROR
(400)LINK_BLOCKED
(403)LINK_CONTENT_WAS_NOT_AS_EXPECTED
(400)LINK_TOOK_TOO_LONG
(504)LINK_SERVER_ERROR
(500)LINK_CONNECTION_ERROR
(502)LINK_IS_NOT_SUPPORTED
(400)NO_API_KEY
(401)INVALID_API_KEY
(401)RATE_LIMIT_EXCEEDED
(429)BURST_LIMIT_EXCEEDED
(503)UNAUTHORIZED
(401)NOT_FOUND
(404)HEALTH_CHECK_ERROR
(503)BAD_REQUEST
(400)PRISMA_<code>
(400 or 500)status
: Determine if it’s a client error (4xx) or server error (5xx).error
: Use this short code in your own logic (e.g., LINK_INVALID_URL
vs. RATE_LIMIT_EXCEEDED
).message
: Provide a human-readable explanation in logs or UI.details
: Additional info for debugging (e.g., how many redirects we followed).RATE_LIMIT_EXCEEDED
.