Skip to main content

Error Codes

In this section

About Error Codes

Kraken error codes start with a prefix KT-COUNTRY_CODE-NUMBER. The country code CT is a core error for all versions of kraken. All other country codes will correspond to the universally accepted two-letter code for that country. The number is a globally unique identifier for that error.

  • Authentication Server
  • KT-CT-1128

    Error Type: AUTHORIZATION

    The viewer is not authorized to execute the query/mutation. Check authentication or roles/permissions.

    Error Message

    {
      "errors": [
        {
          "message": "Unauthorized.",
          "extensions": {
            "errorType": "AUTHORIZATION",
            "errorDescription": "The viewer is not authorized to execute the query/mutation. Check authentication or roles/permissions.",
            "errorCode": "KT-CT-1128"
          }
        }
      ]
    }

    KT-CT-1150

    Error Type: NOT_FOUND

    No MFA device found for this user.

    Error Message

    {
      "errors": [
        {
          "message": "MFA device not found.",
          "extensions": {
            "errorType": "NOT_FOUND",
            "errorDescription": "No MFA device found for this user.",
            "errorCode": "KT-CT-1150"
          }
        }
      ]
    }

    KT-CT-1151

    Error Type: APPLICATION

    Multiple MFA devices of the same type found for this user.

    Error Message

    {
      "errors": [
        {
          "message": "MFA device not found.",
          "extensions": {
            "errorType": "APPLICATION",
            "errorDescription": "Multiple MFA devices of the same type found for this user.",
            "errorCode": "KT-CT-1151"
          }
        }
      ]
    }

    KT-CT-1152

    Error Type: VALIDATION

    The MFA token is invalid.

    Error Message

    {
      "errors": [
        {
          "message": "Invalid MFA token.",
          "extensions": {
            "errorType": "VALIDATION",
            "errorDescription": "The MFA token is invalid.",
            "errorCode": "KT-CT-1152"
          }
        }
      ]
    }

    KT-CT-1153

    Error Type: APPLICATION

    There was a problem while creating the MFA device.

    Error Message

    {
      "errors": [
        {
          "message": "Unable to create MFA device.",
          "extensions": {
            "errorType": "APPLICATION",
            "errorDescription": "There was a problem while creating the MFA device.",
            "errorCode": "KT-CT-1153"
          }
        }
      ]
    }

    KT-CT-1154

    Error Type: APPLICATION

    There was a problem while deleting the MFA device.

    Error Message

    {
      "errors": [
        {
          "message": "Unable to delete MFA device.",
          "extensions": {
            "errorType": "APPLICATION",
            "errorDescription": "There was a problem while deleting the MFA device.",
            "errorCode": "KT-CT-1154"
          }
        }
      ]
    }

    KT-CT-1155

    Error Type: APPLICATION

    The operation cannot cause the user to have MFA enabled without a backup device.

    Error Message

    {
      "errors": [
        {
          "message": "Enabled backup device is needed.",
          "extensions": {
            "errorType": "APPLICATION",
            "errorDescription": "The operation cannot cause the user to have MFA enabled without a backup device.",
            "errorCode": "KT-CT-1155"
          }
        }
      ]
    }