StorageErrorCode

enum StorageErrorCode : Int

Enum representing the errors raised by Firebase Storage.

  • An unknown error occurred.

    Declaration

    Swift

    case unknown = -13000
  • No object exists at the desired reference.

    Declaration

    Swift

    case objectNotFound = -13010
  • No bucket is configured for Firebase Storage.

    Declaration

    Swift

    case bucketNotFound = -13011
  • No project is configured for Firebase Storage.

    Declaration

    Swift

    case projectNotFound = -13012
  • Quota on your Firebase Storage bucket has been exceeded. If you’re on the free tier, upgrade to a paid plan. If you’re on a paid plan, reach out to Firebase support.

    Declaration

    Swift

    case quotaExceeded = -13013
  • User is unauthenticated. Authenticate and try again.

    Declaration

    Swift

    case unauthenticated = -13020
  • User is not authorized to perform the desired action. Check your rules to ensure they are correct.

    Declaration

    Swift

    case unauthorized = -13021
  • The maximum time limit on an operation (upload, download, delete, etc.) has been exceeded. Try uploading again.

    Declaration

    Swift

    case retryLimitExceeded = -13030
  • File on the client does not match the checksum of the file received by the server. Try uploading again.

    Declaration

    Swift

    case nonMatchingChecksum = -13031
  • Size of the downloaded file exceeds the amount of memory allocated for the download. Increase memory cap and try downloading again.

    Declaration

    Swift

    case downloadSizeExceeded = -13032
  • User cancelled the operation.

    Declaration

    Swift

    case cancelled = -13040