List of Possible Errors in Command Executions

Here are some common possible errors that you could encounter in your CLI during command executions, and the actions you can take to resolve them:


Command/Component Errors Fixes
Authentication Empty Token Basket Generate a new token
Token Retrieval Failure Use a valid token from the list
Logged out of CLI Log in to the CLI
Refresh Token or Access Token Retrieval Failure Log in to the CLI using –no-localhost
Token Generation Failure Generate a new token
Invalid Token Provided with –token option Provide a valid token with the option
Authentication Failure Re-login with the –force option
Data Center Invalid Input for the –dc Option Specify a valid input and try again
Project First Catalyst Project Not Created Create a new project
Project Provided with -p option Not Found Select an existing project from the list
File Missing in Project Directory Initialize the project or set up the missing component
Resource Not Found in Project Directory Initialize the project or set up the missing component
Project Not Found in the Remote Console Use an available project from the list
File Corrupted in Project Directory Delete the corrupted file and initialize the project again
Active Project Not Found in the Remote Console Change the existing active project to an available one
API Gateway Enable APIG Failure- APIG Scheduler in Progress Check the status of the scheduled job and try again after some time
APIG Reports Not Found Deploy APIG rules from the CLI
Disable APIG Failure- APIG Scheduler in Progress Check the status of the scheduled job and try again after some time
Unable to Read APIG Rules File Rectify the specified errors and try again
APIG Rules File Missing Create the missing file or specify a valid file name
Name Missing in APIG Rule Provide a name for the APIG rule
Duplicate APIG Rule Name Change the name or delete the APIG rule
Mandatory Values Missing in APIG Rule Add the specified mandatory values to the APIG rule
Duplicate Values in APIG Rule Modify the APIG rule and resolve the conflict
Invalid Client Specified in APIG Rule Rectify the specified errors in the client and try again
Cannot Authenticate APIG Rule with Client Target Remove the specified key from the APIG rule
Invalid RegEx in APIG Rule Rectify the specified RegEx error
Invalid Parameters in APIG Rule Rectify the specified error to continue
Invalid Request or Target URL in APIG Rule Provide a valid target URL in the APIG rule
Data Store Table Identifier Missing in Export/Import Operation Provide the table identifier in the command or configuration file
Source File Missing in Import Operation Provide the path of the CSV file in the local machine with the command, or the File ID of the file uploaded in File Store in the config JSON
No Folders Present in File Store to Upload CSV File for Import Create atleast one folder in the File Store
Client Web Client Not Found in the Local Machine Create a new web client
Web Client Not Found in the Remote Console Deploy a web client from the CLI
Web Client Version Not Found in Local Machine/Remote Console to Delete Delete a version from the list of versions available
Web Client Version is Live and Cannot be Deleted Change the live version to a different one or deploy a new version of the web client
Cannot Use –local and –remote Options Simultaneously to Delete Use either one of the options at a time
Client File Cannot be Parsed Rectify the specified error and try again
File Missing in Client Directory Create the specified file in the client source directory
File Corrupted in Client Directory Rectify the specified error or provide valid targets
Functions No Functions in the Remote Console to Configure or Use Feature for Create a new function in the console or deploy a function to the console
Invalid Value with –memory Option while Configuring Provide a valid number with the option
Function Not Found in the Local Machine to Delete Select an available function from the list to delete
No Functions in the Local Machine to Delete Create a new function in the project directory
Function Not Found in the Remote Console to Delete Select an available function from the list to delete
No Functions in the Remote Console to Delete Create a new function in the console or deploy a function to the console
Cannot Use Function ID in the Local Machine to Delete Use the function name or execute the command without specifying any function identifiers
Cannot Use –local and –remote Options Simultaneously to Delete Use either one of the options at a time
Configuration Files Functions Specified in Config File Not Found Specify valid function names under the functions key
Client Specified in Config File Not Found Specify a valid client source directory under the client key
Directory Specified in Config File Not Found Specify a valid directory name that is available in the project directory
Invalid Targets in Config File Specify valid values as targets in the config file
File Missing in Project Root Directory Initialize the project again
Scripts Invalid Script Command Specify the command in a valid format
Invalid Feature Specified Specify a valid feature to execute the script
Script Unavailable in File Run an available script
Script Exited with Error Rectify the error and try again
Event Generate Options Provided Not in Pairs Provide the options as pairs in the right format
Source Invalid Provide an available source
Options in Invalid Format Provide the options in a valid format
Event Bus Name Missing in Custom Event Provide the Event Bus name
Rule Identifier Missing in Custom Event Provide the Rule Identifier
Event Bus Not Found in the Remote Console Provide an available Event Bus name
Action Not Compatible with Source Provide an action compatible with the source
Incorrect Segment/Table/Folder Identifier Provide a valid identifier with the option
Event Generate: Integration Functions Incorrect Input Value for Cliq Integration Event Provide the input in the right format
Unknown Combination of Cliq Component Choose the appropriate combination of Cliq components from the list
Integration Service Unavailable Provide an available integration service
Pull Invalid Value with Command Provide the values client, functions, or apig with the command
Serve No Valid Components to Serve Rectify the errors and try again
Ports in the Given Range Unavailable Specify a port out of the given range
Shell No Valid Functions to Serve Rectify the errors and try again
Deploy No Functions Ready for Deploy Execute the deploy command with an appropriate option
APIG Deploy Skipped Enable API Gateway locally and deploy it once again
Java Functions Configuration JAR File Missing in the Path Specified in Config File Specify a valid path to the JAR file
File Corrupted in Function Directory Delete the corrupted file and execute the command again
Project Name Mismatch in Config File Change the project name to an appropriate value
Java Compiler Version Check Failure Ensure that Java Compiler is installed and execute the command again
Java Compiler Above Compatible Version Downgrade Java Compiler to a supported version
Main File Missing in Function Directory Specify a valid main file in the config file
Java Compilation Error Rectify the specified errors to continue
Node.js Functions Configuration Main File Missing in Function Directory Specify a valid main file in the config file
Options Usage Duplicate Targets Specified for Option Remove the duplicate value and try again
Invalid Target Specified with Option Provide a valid target as specified
Target Specified With and Without Filter Provide the target in a valid format
Unable to Debug Client Target Remove the client as a target in --debug and try again
Conflict in Option Usage Use only one of the options at a time
Invalid Input for Option Provided a valid input as specified and try again
APIG Cannot Be Served Separately Include atleast one other component like functions or client
Org Option is needed when Project Option is Supplied Provide org ID of the organization the project belongs to using --orgwhen you refer to a specific project using –project or -p
General Not in Catalyst App Directory during Command Execution Run the command from a valid Catalyst directory or initialize a project to make this a Catalyst app directory
Incorrect Usage of Command Use catalyst help or execute the command with the –help option to get usage instructions
Unable to Load File Rectify the specified errors to continue
Requested Port Unavailable Provide a different port with the command

Last Updated 2023-12-14 16:25:23 +0530 +0530

ON THIS PAGE