Skip to main content
Version: Guardian v0.2.1

Error Codes

SDK Errors (SurtError)

ErrorWhen
notInitializedverify() called before initialize()
noCustomerverify() called before setCustomer()
networkErrorTimeout or no connection
invalidApiKey401 from backend
serverError5xx from backend
attestationFailedPlatform attestation failed

HTTP Status Codes

CodeMeaning
200Success
400Malformed JSON or missing required field
401Invalid or missing auth token
403Valid key but missing permission
5xxServer error