Errors

While working with the HanchuESS Connect API, it's important to understand the various error types that you might encounter during integration. These errors can help you diagnose issues, improve your application, and provide a better experience for your users. Below are the common error types you may encounter and how to handle them.

Error
Description

100

The operation has failed.

200

The operation has been successful.

OAS.21000

Integration in progress, stay tuned.

OAS.20999

No record found.

OAS.20998

Access token is invalid.

OAS.20997

Repeat subscription is not allowed.

OAS.20996

Event is invalid.

OAS.20995

Bad subscription data.

OAS.20994

The service is currently offline.

OAS.20993

Request body in json format is bad.

OAS.20992

Event not subscribe to.

OAS.20991

User is unknown.

IDAAS.20034

Bad credentials.

IDAAS.20001

Invalid authentication.

IDAAS.20002

Authentication has expired.

IDAAS.20003

Username is required.

IDAAS.20004

User not found.

IDAAS.20005

Password is required.

IDAAS.20006

Password or client secret does not mt match.

IDAAS.20007

Client ID is required.

IDAAS.20008

Client not found.

IDAAS.20009

Client secret is required.

IDAAS.20010

Unsupported grant type for OAuth2.0.

IDAAS.20011

Scope is required.

IDAAS.20012

Scope is incorrect.

IDAAS.20013

Scope cannot be narrowed down.

IDAAS.20014

Authorization code is incorrect.

IDAAS.20015

Grant type is required.

IDAAS.20016

Refresh token is required or not supsupported.

IDAAS.20017

Redirect URI is unnecessary (required by implicit/authorization_code)

IDAAS.20018

Endpoint request /oauth/token is us unnecessary underimplicit mode.

IDAAS.20019

Refresh token is incorrect.

IDAAS.20020

Code is required.

IDAAS.20021

Authorized request is missing when approving.

IDAAS.20022

Authorized request is tampered when approving.

IDAAS.20023

Redirect URI is missing in authorized request when approving.

IDAAS.20024

Access token not created under implicit mode.

IDAAS.20025

Refresh token is required.

IDAAS.20026

Redirect URI is required.

IDAAS.20027

Redirect URI does not match with previous authentication.

IDAAS.20028

Client ID does not match with previous authentication.

IDAAS.20029

Unofficially Supported API Calls.

IDAAS.20030

User account is locked.

IDAAS.20031

User account has expired.

IDAAS.20032

User credentials have expired.

IDAAS.20033

User account is disabled.

IDAAS.20035

Insufficient privileges.

IDAAS.00000

An Internal error has occurred.

IDAAS.00001

An unexpected error has occurred.

Last updated