Function Related Messages
Error codes related to function lifecycle operations, including creation, lookup, deletion, and file validation.
Overview
| Code | Message | Description |
|---|---|---|
FN0001 | The function with the name {0} already exists. Please use another name. | Function name already exists, violates unique constraint |
FN0002 | Template {0} is unknown | Template does not exist in the system |
FN0003 | Function does not exist | Function does not exist in the system |
FN0004 | Function {0} is unknown | Function not found with the provided name |
FN0005 | Function {0} not in trash | Function is not in the trash for restoration |
FN0006 | Function has been deleted | Function has been deleted from the system |
FN0007 | The function with the name {0} already exists and has been deleted. Please use another name. | Function name conflicts with a deleted function |
FN0008 | Error when creating a function | Error occurred during function creation |
FN0009 | Duplicate file detected: {0}. Please check the file list | Duplicate 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
- 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
- Verify the template name and ensure it exists in the system.
- 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
- Verify the function ID and ensure the function exists.
- 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
- Verify the function name and ensure it matches an existing function.
- 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
- 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
- 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
- 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
- Check the function parameters and ensure all required fields are valid.
- 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
- Remove the duplicate file
{0}from the upload list. - 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
- Ensure both
handler.pyandrequirements.txtare included in the function upload package.