Skip to main content

Action Errors

Error Handling for APIs & Queries

Timeout error

If your API / DB Query times out, it could be due to one of the following reasons

  • Your API / Database is behind a VPC which is not accessible from the appsmith Instance. This can be fixed by whitelisting the appsmith instance in your database or VPC.
  • Your API / Query is taking too long to respond. This can be fixed by fetching smaller datasets using

server-side pagination or increasing the timeout of the API / Query in the settings section.

Configuration error

getUsers failed to execute. Please check its configuration

This message indicates an error in the configuration of the action. You can navigate to the API / Query in this state and see the error it encountered. If the error occurred intermittently, it is likely due to a value in the configuration not being available at the time that the API / Query was run.

Mandatory parameter empty error

Mandatory parameters 'Action' and 'Bucket Name' are missing
Required parameter 'File Path' is missing
Missing action name (like `ListTables`, `GetItem` etc.)
Document/Collection path cannot be empty
Missing Firestore method

A message of this type means that at least one of the mandatory/required fields in the query editor form is missing.

This error can be fixed by editing the query editor form and providing the parameter mentioned in the error message.

Missing query error

Missing required parameter: Query
needs a non-empty body to work
Body is null or empty

Any one of these messages indicated that the body of the query has been left empty.

This error can be fixed by editing the query form and providing a query body.

Invalid query error

Not a valid Redis command
Query preparation failed while inserting value

A message of this type indicates that the syntax of the query body is invalid.

This error can be fixed by providing a valid syntax in the query editor form.

Encoding error

File content is not base64 encoded

This message indicates that the query was expecting a base64 encoded value as content body, but the actual value passed to it was not base64 encoded.

This error can be fixed by passing a base64 encoded value as a file content parameter in the query.

Invalid number error

Parameter 'Expiry Duration of Signed URL' is NOT a number

This message indicates that the query parameter mentioned in the message expects a number but a non-numerical value has been provided in the query form.

This error can be fixed by editing the query form and providing a valid number as input for the mentioned parameter.

JSON parsing error

Error parsing the JSON body
Error converting array to ND-JSON
Unable to parse condition value as a JSON list

This message indicates that the JSON string passed to the query as a parameter is not a valid JSON string.

This error can be fixed by editing the query form and passing a valid JSON string as a parameter.