apidocs / com.srv4pos.server.api.infrastructure.exceptions.enums / ForbiddenErrorType

ForbiddenErrorType

enum class ForbiddenErrorType

Enum describes error codes corresponding to com.srv4pos.server.api.exceptions.ForbiddenJsonException.

Enum Values

INSUFFICIENT_ACCESS_RIGHTS

It is most used code, which covers cases when credentials is not sufficient to perform request or, for example, on attempt to get non-public data.

AUTHORIZATION_DATA_IS_NOT_VALID

When auth data doesn't pass verification. For example, if username is empty.

ACTIVATION_CLOSED_ALREADY

If activation in credentials is closed already.

ACTIVATION_STILL_ISSUED

If activation in credentials is not activated.

ACTIVATION_NO_FEATURE

If activation doesn't have required feature.

SELLER_NOT_FOUND

If there is credentials and seller with given country and corporate id is not registered.

WRONG_ACTIVATION_PERIOD

If either activation's period haven't started yet or has expired already.

WRONG_USERNAME_OR_PASSWORD

If either username or password failed to pass authorization.

INCOMPATIBILITY_OF_SESSION_ID

When passed session id hasn't passed verification.

CU_ARE_NOT_MANAGEABLE_BY_SVA

When software vendor isn't able to manage CU.

REGISTRATION_IS_NOT_THINKASSAN

When used registration is not thinkassan but needs to be.

EMAIL_IS_NOT_FREE

When attempt to send a free email on non-free address.

DIBS_VERIFICATION_FAILURE

When dibs verification fails.

SELLER_IS_NOT_PUBLIC

When requested seller is not public.

OLD_PASSWORD_IS_INCORRECT

When verification on old password failed during password change operation.

CU_IS_NOT_CONNECTED

When software vendor tries to send kd to not connected CU