Norsh
Home
NTPNCLAPI
Home
NTPNCLAPI
  1. API
  • Norsh
    • Usage Guide
      • Identity in the Norsh Ecosystem
      • UCP Message Structure (Standard Request Format)
    • API
      • UCP Error Codes
      • Keys Identity
        • Generates a public and private key pair
      • Address
        • Register Address
        • Get Address
        • Enable TOTP
        • Disable TOTP
        • Enable Secret-Based Authentication
        • Disable Secret-Based Authentication
        • Revoke Address
      • Modules
        • Get Module
        • Create Notary
      • Statements
        • Get Statement
        • Create Notary Statement
      • BigLedger
        • Get BigLedger Statement
      • Tartarus
        • Get Tartarus Statement
      • Envelopes
        • Get Envelope
  • NTP - Norsh Technical Paper
    • NTP-1: Norsh Technical Paper Specification
    • NTP-2: Standards for Encoding, Time and Localization
    • NTP-3: Cryptography and Hash Specification
    • NTP-4: Interchangeable Data Standard
    • NTP-5: Temporal Time-Step Model
    • NTP-6: Modular Prime Fragmentation
    • NTP-7: The End of Mining - PoW
    • NTP-8: The Fallacy of Stake - PoS
    • NTP-9: The Myth of Absolute Non-Censorship
    • NTP-10: Structural Failures of Decentralization
    • NTP-11: Universal Blockchain Protocol (UBP)
    • NTP-12: Sharded Certificate Storage for the Norsh Ecosystem
  • NCL - Norsh Commons License
    • NCL-0: Norsh Commons License
    • NCL-1: Attribution Requirement
    • NCL-2: Restricted Commercialization
    • NCL-4: Commercialization with Agreement or Royalties
    • NCL-8: Educational Use Permission
    • NCL-16: Complementary Use and Integration Permission
    • NCL-32: Pre-Approval for Application Publication
    • NCL-64: Restricted or Authorized Derivatives
    • NCL-128: Contribution Terms
  • Compliance
    • Terms of Use
    • Privacy Policy
    • Norsh Brand and Trademark Usage Guidelines
    • AI Content Notice
    • Credits
    • Partners
    • Legal Templates
      • Policy on Public Disclosure of Legal Templates
      • NDA - Template
      • Service Agreement - Template
  • Resources
    • Norsh Brand Guidelines
    • Academy
      • Exam Program
  • Service Operations
    • Service Level Agreement (SLA)
    • Scheduled Maintenance Notice
    • Incident Reports
  • Schemas
    • Key & Address
      • Key.Generate
      • Address.Register
      • Address.Revoke
      • Address.TOTP.Enable
      • Address.TOTP.Disable
      • Address.Secret.Enable
      • Address.Secret.Disable
    • Modules
      • Module.Notary.Create
      • Module.Meter.Create
    • Ucp Response
    • Ucp PublicKey
    • Ucp Parameters
    • Ucp Header
    • Ucp Ghost
Home
NTPNCLAPI
Home
NTPNCLAPI
  1. API

UCP Error Codes

The following errors are applicable to all versions of the Universal Command Protocol (UCP).
These errors are version-agnostic and may appear in any command that follows the UCP structure.
In batch responses, if different HTTP status codes occur in the same batch, the HTTP response will return 207 Multi-Status.

1. General Errors#

HTTP StatusCodeDescription
500-7000An unknown error occurred.
500-7001Internal server error. See logs for more details.

2. Network Errors#

HTTP StatusCodeDescription
404-45000The specified network does not exist or is not recognized.

3. Field Validation Errors#

HTTP StatusCodeDescription
400-45100The request body must be a non-empty JSON array.
400-45101Each entry in the request array must be a JSON object.
400-45102The protocol version in the request does not match the expected value.
409-45103Duplicate externalId found in the batch request.
422-45105externalId is required for batch operations.
422-45106A required field is missing in the request.
422-45107A field must be explicitly set to null.
422-45108A numeric field must be zero or positive.
422-45109A field has an invalid data type.
422-45110A field has an invalid value. The value does not match the expected type.
422-45111A field does not match the required pattern or format.

4. Preimage and Signature Errors#

HTTP StatusCodeDescription
422-45120The preimage must be empty for this command.
422-45121A specific field is required in the preimage.
422-45122A specific preimage field must be null.
422-45123A preimage field has the wrong data type.
422-45124A metadata value is not a string. All metadata values must be strings.
422-45125The number of items in the preimage does not match the expected size.
422-45126Required fields are missing in the preimage.
422-45127Preimage contains unexpected extra fields.
422-45128The public key is mandatory in this command.
422-45129The public key must be Base64-encoded.
422-45130The public key must be in valid UDBN format.
422-45131The signature must be Base64-encoded.
422-45132Signature verification failed. Content could not be validated.
404-45133The address is not registered. Use the keys.register command to register it.
422-45134The address is in an invalid state for this operation.

5. Command Errors#

HTTP StatusCodeDescription
400-45201This command is not supported.
404-45202This command is not recognized or implemented.

6. TOTP Errors#

HTTP StatusCodeDescription
422-45300TOTP is not supported for this command.
422-45301TOTP is required for this command. Provide it in the 'ghost' object.
422-45302TOTP is not enabled for this address.
422-45303The provided TOTP code is invalid.
409-45304This public key is already registered. Use keys.get to retrieve details.
422-45305An error occurred during TOTP validation.
409-45306TOTP is already enabled for this address.
404-45307The address was not found.
422-45308The provided owner name contains invalid characters.

7. Element Errors#

HTTP StatusCodeDescription
409-45400An element with this name already exists and is active.
404-45401The element was not found.
403-45402You do not have permission to update this element.
422-45403Element name is invalid. It must follow strict format rules.
422-45404Element name cannot have more than 5 segments.
422-45405Each name segment must be between 2 and 12 characters long.
422-45406Name segments cannot start or end with an underscore.
422-45407Each segment must contain at least one letter.
422-45408Name cannot contain consecutive underscores.
422-45409Name cannot contain consecutive dots.
422-45410Name cannot start or end with a dot.
422-45411Name cannot contain 4 or more identical characters in a row.
422-45412Name contains invalid characters. Only A–Z, 0–9, underscore (_) and dot (.) are allowed.
403-45413Element is disabled. Operation not allowed.
423-45414Element is temporarily locked.
403-45415Element is blocked due to security or policy enforcement.
409-45416Element is already in the requested status. No change was made.

8. Permission Errors#

HTTP StatusCodeDescription
403-45420Element owner cannot be assigned transaction or agent permissions.
409-45421This address already has the specified permission for the element.
404-45422No permissions found for this address.
404-45423The requested permission does not exist for this address.

9. Meter Errors#

HTTP StatusCodeDescription
422-45430The provided meter category is invalid.
422-45431The specified unit is not allowed in the selected meter category.
422-45432Initial supply cannot exceed maximum supply.

10. Transaction Errors#

HTTP StatusCodeDescription
403-45440You do not have permission to create transactions for this element.
422-45441Sender and receiver addresses must be different.

11. Balance Errors#

HTTP StatusCodeDescription
422-45450Transaction amount cannot be zero.
422-45451Transaction amount cannot be negative.
422-45452This element type does not support balance operations.
422-45453Insufficient funds in the source address to complete the transaction.
Modified at 2025-10-15 18:32:25
Previous
API
Next
Keys Identity
Built with