Skip to content

Errors

The Bridge uses the following error codes. All APIs use this error schema.

Error CodeDescription
NBLOCKS_CONFLICTYou cannot have two users with the same email in the same tenant
NBLOCKS_USER_NOT_FOUNDUser not found
NBLOCKS_UNKNOWN_LOGIN_STRATEGYUnknown login strategy
NBLOCKS_UNKNOWN_APP_IDApp ID is missing
NBLOCKS_APP_UNAUTHORIZED_EXCEPTIONApp is unauthenticated. Usually means your API key is not valid
NBLOCKS_UNAUTHORIZED_EXCEPTIONUser is unauthenticated. Please login first
INVALID_MFA_CODE_EXCEPTIONThe MFA code provided is invalid or expired
NBLOCKS_FORBIDDEN_EXCEPTIONYou do not have access to this resource
NBLOCKS_FEATURE_FORBIDDEN_EXCEPTIONYou do not have access to this feature
NBLOCKS_MISSING_CREDENTIALSMissing required variables to authorize
NBLOCKS_MISSING_USERNAMEMissing username
NBLOCKS_MISSING_APPMissing app
NBLOCKS_WRONG_CREDENTIALSWrong user credentials
NBLOCKS_INVALID_AUTH_TOKENInvalid auth token
NBLOCKS_INVALID_ROLEThe role you’re changing to is not within your defined app roles
NBLOCKS_OWNER_ROLE_MUST_EXISTYour app must have the role OWNER
NBLOCKS_NOT_FOUND_TENANT_EXCEPTIONTenant does not exist
NBLOCKS_MISSING_REQUIRED_VARIABLES_EXCEPTIONMissing required variables or incorrect format
NBLOCKS_INVALID_OAUTH_SCOPE_ERRORThe scope requested is not allowed for this client
NBLOCKS_INVALID_REDIRECT_URI_ERRORInvalid redirect_uri
NBLOCKS_INVALID_GRANT_TYPE_ERRORUnsupported grant_type
NBLOCKS_INVALID_RESPONSE_TYPE_ERRORUnsupported response_type
NBLOCKS_STRIPE_OUT_OF_SYNC_EXCEPTIONStripe data doesn’t match your business model. Update your business model to resync
NBLOCKS_ERRORAn error occurred. Please try again