Table of Contents

Enum TorBoxErrorCode

Namespace
TorBoxSDK.Models.Common
Assembly
TorBoxSDK.dll

Enumerates the known error codes returned by the TorBox API.

public enum TorBoxErrorCode

Fields

ActiveLimit = 10

The active download limit has been reached.

BadToken = 4

The provided authentication token is invalid or expired.

BannedContentDetected = 12

Banned content was detected in the requested item.

BannedUser = 20

The user account has been banned.

BreachOfTos = 9

The action constitutes a breach of the terms of service.

CouldNotPerformAction = 13

The requested action could not be performed.

DatabaseError = 1

A database error occurred on the server.

DeviceAlreadyAuthed = 16

The device has already been authenticated.

DownloadTooLarge = 18

The requested download exceeds the maximum allowed size.

DuplicateItem = 8

A duplicate item was detected.

InvalidDevice = 15

The specified device is invalid.

InvalidOption = 5

An invalid option or parameter was supplied.

ItemNotFound = 14

The requested item was not found.

MissingRequiredOption = 19

A required option or parameter is missing.

NoAuth = 3

No authentication credentials were provided.

PermissionDenied = 6

The authenticated user does not have permission for this action.

PlanRestrictedFeature = 7

The requested feature is restricted to a higher-tier plan.

SearchError = 21

An error occurred during a search operation.

SeedingLimit = 11

The seeding limit has been reached.

ServerError = 22

An internal server error occurred.

TooManyRequests = 17

Too many requests have been made; rate limiting is in effect.

Unknown = 0

An unknown or unmapped error code was returned.

UnknownError = 2

An unspecified server-side error occurred.

Remarks

Use these codes to programmatically distinguish between different failure modes when handling TorBoxException.