The Slack connector can return errors when connector input is invalid, Slack resources cannot be located, authentication fails, or communication with Slack cannot be completed successfully. These errors can be handled in a process to support troubleshooting, exception handling, and recovery workflows.
The following errors can be returned by the Slack connector:
| Error | Description |
|---|---|
| MISSING_INPUT | A required input parameter was not provided. Verify that all mandatory connector inputs are mapped and contain values. |
| INVALID_INPUT | An input parameter contains an invalid value or unsupported data type. Verify that the input matches the format expected by the connector action. |
| INVALID_RESULT_FORMAT | The response returned by Slack could not be parsed by the connector. This can occur when the response format is unexpected or invalid. |
| USER_NOT_FOUND | The specified Slack user could not be found. Verify the user ID or email address provided to the action. |
| CHANNEL_NOT_FOUND | The specified Slack channel could not be found. Verify the channel ID or channel name. |
| INVALID_REQUEST | A null or invalid response was received while attempting to send a message or perform another Slack operation. |
| INVALID_CHANNEL | The specified channel cannot be used for the requested operation. Verify channel configuration, membership, and permissions. |
| MSG_TOO_LONG | The message exceeds the maximum length supported by Slack. Reduce the message size and try again. |
| FATAL_ERROR | The operation failed due to a critical error that prevented the connector from completing the request. |
| UNKNOWN_ERROR | An unexpected error occurred during connector execution. Review connector configuration and Slack connectivity for possible causes. |
| UNAUTHORIZED | The request could not be authenticated. Verify the Slack bot token and connector configuration. |
| FORBIDDEN | Authentication succeeded, but the configured application or user does not have permission to perform the requested action. |
| REQUEST_TIMEOUT | Slack did not respond within the expected time period and the request timed out. |