ICBucket
ICBucketv1.0
Overview
  • Introduction
  • Quick Start
  • Installation
Guides
  • Configuration
  • Authentication
  • Basic Usage
  • Best Practices
API Reference
  • API Overview
  • API Endpoints
  • API Requests
  • API Responses
Errors
  • Error Codes
  • Error Handling
  • Troubleshooting
Deployment
  • Local Development
  • Production Deployment
Reference
  • Configuration Reference
  • Types Reference
  • Changelog
FAQ
  • Frequently Asked Questions
PricingGitLabNew bucket
  1. ICBucket
  2. Errors
  3. Error Codes

Error Codes

Comprehensive catalog of ICBucket machine-readable error codes and their HTTP mappings.

Error Codes

This reference documents the error codes returned by the ICBucket API and SDKs, explaining their causes and recovery actions.

Error Reference Table#

CodeHTTP StatusDescriptionAction
ERR_UNAUTHORIZED401Invalid or expired API keyVerify key credentials in ICPay dashboard
ERR_FORBIDDEN403Principal lacks write permissionCheck bucket ownership or request higher scope
ERR_BUCKET_NOT_FOUND404Bucket name does not existVerify bucket slug spelling
ERR_FILE_NOT_FOUND404File path does not exist in bucketEnsure file path prefix matches uploaded path
ERR_PAYLOAD_TOO_LARGE413Single-call payload exceeds 2MBUse chunked upload session for files > 2MB
ERR_QUOTA_EXCEEDED402Bucket storage limit reachedTop up bucket capacity from dashboard
ERR_CANISTER_BUSY503Consensus queue currently saturatedRetry with exponential backoff

Error Envelope Shape#

{
  "success": false,
  "error": {
    "code": "ERR_PAYLOAD_TOO_LARGE",
    "message": "Payload size 3.4MB exceeds single-call limit of 2.0MB. Use beginUpload chunked session.",
    "timestamp": 1728518400000
  }
}

Related Pages#

  • Error Handling
  • Troubleshooting
  • Endpoints Reference
PreviousAPI ResponsesNextError Handling
Edit this page on GitLabUpdated recently

On this page

Error Reference TableError Envelope ShapeRelated Pages

Search documentation

Quickly find guides, APIs, and reference docs