Table of Contents

Enum FailureHint.Reason

Namespace
Supabase.Storage.Exceptions
Assembly
Supabase.Storage.dll

A coarse classification of why a storage request failed, derived from its status code and body.

public enum FailureHint.Reason

Fields

AlreadyExists = 4

The resource being created already exists (HTTP 409).

EntityTooLarge = 6

The upload exceeded the gateway's request-size limit (HTTP 413). Retry it through a resumable upload (UploadOrResume) rather than a single request.

Internal = 2

The storage service failed internally (HTTP 500).

InvalidInput = 5

The request was rejected as invalid (an HTTP 400 whose body indicates invalid input).

NotAuthorized = 1

The request was rejected for authentication or authorization reasons (HTTP 401, or a 400/403 whose body names an auth cause such as a missing or malformed token).

NotFound = 3

The requested object or bucket does not exist (HTTP 404).

Unknown = 0

The failure could not be attributed to a known cause — the status and body matched no recognised pattern, or the response carried no body to inspect.