📘
TEOS User Guides
Contact CoreLedgerPrivacy Policy
TEOS API
TEOS API
  • 👋Welcome to TEOS API
  • Get started
  • TEOS API overview
    • Terms and concepts
      • Asset
      • Spark
      • Wallet
      • Supply
      • Warp
      • Invoice
      • Transaction
    • Architecture note
      • Tenant setup options
    • Authentication
    • Versioning
  • Using TEOS API
    • Postman examples
    • Rate limits
    • Dealing with blockchain transactions
      • How to get Ether for signing transactions
      • Transaction creation and submission
        • First transaction creation and submission for a new address on the private blockchain
    • Handling errors
      • 1xxxx codes
      • 2xxxx codes
      • 3xxxx codes
    • TEOS Events
    • Warp search
  • TEOS API references
    • TEOS API Swagger (OpenAPI)
  • Using additional APIs of TEOS Platform
    • User authentication flow with TEOS Authentication service and TMS
    • Device authorization flow with TxServer and TEOS Authentication service
    • Adding wallet to the TEOS Platform flow with TxServer and TEOS API
    • Using TxServer API
      • TxServer API (OpenAPI)
      • Key Pair Generation. Transaction Signing
      • Device Restoration
    • Using TEOS Authentication service
      • TEOS Authentication Service API
    • Using TMS API
      • TMS API Swagger (OpenAPI)
      • Handling errors
      • Changelog
    • Using Discovery Service
  • FAQ
  • Changelog
    • v0.9
    • Non-versioned changes
    • Previous versions (not supported)
  • Troubleshooting
Powered by GitBook
On this page
  • 1xxxx codes
  • 12000 / 12001
  • 13000
  • 2xxxx codes
  • 22000-2002
  • 22000-2003
  • 22000-2004

Was this helpful?

Edit on GitHub
  1. Using additional APIs of TEOS Platform
  2. Using TMS API

Handling errors

Errors structure and errors handling approach is the same for all TEOS Platform APIs. Please, refer to Handling errors for the info about handling errors received from TMS API.

1xxxx codes

Error codes 1xxxx indicate non-business logic related issues with input (auth issues, issues with parsing input data, rate limiting etc.). These errors are mostly 'technical', related to the problems in the API consumer's code.

12000 / 12001

Message

There were OData validation errors

Description

malformed oData request (missing required fields, redundant fields etc.)

Details

contains the array of sub-errors, specifying the issue

What to do

  • check the correctness of the request body according to oData and the request specs.

  • check the details field for additional information

13000

Message

Whoa! Calm down, cowboy! Quota exceeded

Description

requests quota for the tenant per 30 days was exceeded

Details

contains the details about the current quota, time to wait until requests are allowed again

What to do

  • wait until the requests are allowed again

  • check why the quota was exceeded

  • if you want to change the quota, contact your CL manager

2xxxx codes

Error codes 2xxxx indicate business logic related issues with input (failed preconditions, validations etc.).

22000-2002

Message

User with id = userId already exists

Description

You're trying to register a new user with existing user id

What to do

Check that correct user in requesting the operation

Try again with the correct user. If it doesn't help, contact support

22000-2003

Message

Incorrect time zone id: timeZoneId

Description

You're trying to register a new user with incorrect timeZoneId

What to do

22000-2004

Message

Incorrect language code: languageCode

Description

You're trying to register a languageCode which is not supported by TEOS Platform

What to do

PreviousUsing TMS APINextChangelog

Last updated 1 year ago

Was this helpful?

Try again with the correct timeZoneId format according to

Try again with the correct languageCode according to

api description
api description