Skip to main content

Function Related Messages

Error codes related to function lifecycle operations, including creation, lookup, deletion, and file validation.


Overview

CodeMessageDescription
FN0001The function with the name {0} already exists. Please use another name.Function name already exists, violates unique constraint
FN0002Template {0} is unknownTemplate does not exist in the system
FN0003Function does not existFunction does not exist in the system
FN0004Function {0} is unknownFunction not found with the provided name
FN0005Function {0} not in trashFunction is not in the trash for restoration
FN0006Function has been deletedFunction has been deleted from the system
FN0007The function with the name {0} already exists and has been deleted. Please use another name.Function name conflicts with a deleted function
FN0008Error when creating a functionError occurred during function creation
FN0009Duplicate file detected: {0}. Please check the file listDuplicate file detected in the upload list
FN0010'handler.py' and 'requirements.txt' are required.Required files handler.py and requirements.txt are missing

Error Code Details

FN0001

Message

The function with the name {0} already exists. Please use another name.

Description

A function with the specified name already exists in the system, violating the unique name constraint.

Root Cause

  • The function name {0} is already in use by another function.

Resolution

  1. Choose a different, unique name for the function.

FN0002

Message

Template {0} is unknown

Description

The specified template does not exist in the system.

Root Cause

  • The template name {0} does not match any known template.

Resolution

  1. Verify the template name and ensure it exists in the system.
  2. Check for typos in the template name.

FN0003

Message

Function does not exist

Description

The requested function could not be found in the system.

Root Cause

  • The function ID or reference is incorrect.
  • The function was deleted before the request was made.

Resolution

  1. Verify the function ID and ensure the function exists.
  2. Ensure the function has not been deleted.

FN0004

Message

Function {0} is unknown

Description

No function was found with the provided name.

Root Cause

  • The function name {0} does not match any existing function.

Resolution

  1. Verify the function name and ensure it matches an existing function.
  2. Check for typos in the function name.

FN0005

Message

Function {0} not in trash

Description

The function cannot be restored because it is not currently in the trash.

Root Cause

  • The function {0} was not moved to trash before attempting a restore operation.

Resolution

  1. Verify the function is in the trash before attempting to restore it.

FN0006

Message

Function has been deleted

Description

The requested function has been permanently deleted from the system.

Root Cause

  • The function was deleted and is no longer available.

Resolution

  1. The function cannot be recovered after deletion. Create a new function if needed.

FN0007

Message

The function with the name {0} already exists and has been deleted. Please use another name.

Description

The function name is reserved by a deleted function, preventing reuse of the same name.

Root Cause

  • A deleted function already holds the name {0}.

Resolution

  1. Use a different name for the new function.

FN0008

Message

Error when creating a function

Description

An error occurred during the function creation process.

Root Cause

  • Invalid or missing function parameters were provided.
  • A system error occurred during function creation.

Resolution

  1. Check the function parameters and ensure all required fields are valid.
  2. Try again. If the issue persists, contact support.

FN0009

Message

Duplicate file detected: {0}. Please check the file list

Description

A duplicate file was detected in the upload list.

Root Cause

  • The file {0} appears more than once in the upload list.

Resolution

  1. Remove the duplicate file {0} from the upload list.
  2. Ensure each file in the list is unique before uploading.

FN0010

Message

'handler.py' and 'requirements.txt' are required.

Description

The function upload is missing required files: handler.py and/or requirements.txt.

Root Cause

  • One or both of the required files (handler.py, requirements.txt) are not included in the upload.

Resolution

  1. Ensure both handler.py and requirements.txt are included in the function upload package.