Error Messages Codes

The following error codes will be returned in case of errors processing your application request:

Error Message



No API key was passed in the request header. Refer to the API Authentication section.


The API key is not valid. Please check your API key and contact us in case you are experiencing problems.


An invalid auth_type was requested. Currently, we only support 'telegram' as an auth_type.


Your application was not found. We use the API key to access your defined application. Contact us in case you are experiencing this error message.


Your external user was not found. Please check if you are passing the correct user_id.


Your external user already exists. We use a combination of user, application (API key), and auth_type to establish a unique external user.


The 2FA code is not valid, meaning the code is incorrect (or not found).


The 2FA code has expired, your application should request a new code.


No association with an auth_type was found, this means that we were unable to record the chat_id for that user. This error generally occurs if a resend_code is called before the user opens and clicks 'Start' on the Securify Bot.