tencent cloud

Smart Media Hosting

Product Introduction
Product Overview
Feature Description
Product Strengths
Use Cases
Basic Concept
Purchase Guide
Quick Start
Create Media Library
Initiate request
Service Level API Document
History
Introduction
API Category
Making API Requests
PaaS Service APIs
Official Cloud Disk APIs
Data Types
Error Codes
Business Level API Document
Introduction
Access Token Operation API
Tenant Space Operation API
File Operation API
Directory or Album Operation API
Recycle Bin Operation API
Quota Operation API
Query Task Operation API
Search Operation API
Historical Version Operations API
Directory and File Batch Operation API
Collection Operation API
Error Codes
SDK Documentation
Android SDK
iOS SDK
HarmonyOS SDK
FAQs
Enterprise Network Disk
Product Introduction
Purchase Guide
Quick Start
FAQs
Service Level Agreement
Glossary

Error Codes

PDF
Focus Mode
Font Size
Last updated: 2026-01-07 14:47:53
HTTP response code
Error code.
Error Description
400
EmptyLibraryIdOrSecret
Media Library ID or Media Library Key is empty
400
EmptyLibrarySecret
Media Library Key is empty
400
EmptyLibraryId
Media Library ID is empty
400
NotMultiSpaceLibrary
The specified media library is not a tenant space
400
EmptyAccessToken
Access token is empty
400
EmptyPath
Path is empty
400
DirectoryNameLengthExceed
The directory name length exceeds the limit. Each first-level directory name cannot exceed 255 characters.
400
DirectoryNotAllowed
Single album media library is not allowed to create an album (directory).
400
DirectoryLevelExceed
Media type media library only allows creating first-level albums (directories).
400
EmptyFileName
The file name is empty.
400
FileNameLengthExceed
The file name length exceeds the limit. The longest file name cannot exceed 255 characters (including the extension).
400
ExtnameNotAllowed
Upload not allowed for specified extensions in this media library.
400
UploadToRootDirectoryNotAllowed
Multi-Album Mode media library does not support uploading files to the root directory.
400
CoverNotSupportedInFileLibrary
The repository does not support album covers.
400
CoverNotSupportedInRootDirectory
Multi-Album Mode media library does not support root directory cover.
400
InvalidSourceDirectory
Invalid source directory path for move/rename
400
InvalidSourceFile
Invalid source file path for move/rename
400
FileTypeNotMatched
The target file type for move/rename does not match the source file type.
403
InvalidAccessToken
The access token is invalid, expired, or not suitable for the designated media library.
403
AccessTokenNotMatchSpace
The access token is not suitable for the designated tenant space.
403
NoPermission
Unauthorized current operation
403
UploadNotBelongYou
The designated upload task does not belong to the current user.
404
LibraryNotFound
Media library does not exist
404
SpaceNotFound
Tenant space does not exist
404
WrongLibraryIdOrSecret
Incorrect Media Library ID or Media Library Key
404
DirectoryNotFound
directory does not exist
404
UploadNotFound
Upload task does not exist
404
UploadIncomplete
file upload not completed
404
FileNotFound
File does not exist
404
SourceDirectoryNotFound
Source directory for move/rename does not exist
404
SourceFileNotFound
Source file for move/rename does not exist
409
SameNameDirectoryOrFileExists
Same directory or file already exists
451
SensitiveContentRecognized
Sensitive content detected, upload not allowed
500
InternalServerError
Internal Server Error

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback