メインコンテンツまでスキップ

Deployment Related Messages

Error codes related to function deployment operations, including repository conflicts, file validation, and deployment exceptions.


Overview

CodeMessageDescription
DP0001バケット名 {0}、キー {1}のコードリポジトリは既に存在します。A code repository already exists with the specified bucket name and key combination.
DP0002ファイル拡張子 .{0} はサポートされていません。The uploaded file has an unsupported extension.
DP0003デプロイ機能で例外エラーが発生しました。An unexpected error occurred during the function deployment process.
DP0004ファイルサイズが10MBを超えています。The uploaded file exceeds the maximum allowed size of 10MB.
DP0005handler.py ファイルは {0} 行を超えてはなりません。The handler.py file exceeds the maximum allowed number of lines.

Error Code Details

DP0001

Message

バケット名 {0}、キー {1}のコードリポジトリは既に存在します。

Description

A code repository already exists with the specified bucket name and key combination.

Root Cause

  • A repository with the same bucket name {0} and key {1} was previously created.

Resolution

  1. Use a different bucket name and key combination.
  2. Delete the existing repository if it is no longer needed.

DP0002

Message

ファイル拡張子 .{0} はサポートされていません。

Description

The uploaded file has an unsupported extension.

Root Cause

  • The file extension .{0} is not in the list of supported file extensions.

Resolution

  1. Use a supported file extension.
  2. Check the documentation for the list of accepted file types.

DP0003

Message

デプロイ機能で例外エラーが発生しました。

Description

An unexpected error occurred during the function deployment process.

Root Cause

  • An internal exception was thrown during deployment.
  • Invalid deployment configuration or function code caused the failure.

Resolution

  1. Check the deployment configuration and function code for errors.
  2. Retry the deployment. If the issue persists, contact support.

DP0004

Message

ファイルサイズが10MBを超えています。

Description

The uploaded file exceeds the maximum allowed size of 10MB.

Root Cause

  • The file included in the deployment package is larger than 10MB.

Resolution

  1. Reduce the file size to under 10MB before uploading.

DP0005

Message

handler.py ファイルは {0} 行を超えてはなりません。

Description

The handler.py file exceeds the maximum allowed number of lines.

Root Cause

  • The handler.py file contains more than {0} lines of code.

Resolution

  1. Reduce the number of lines in handler.py to {0} or fewer.
  2. Consider refactoring large logic into separate modules imported by handler.py.