Error Messages

The table contains the following error messages that the user interface might display during the configuration and consumption (in Process Editor or Monitor) of Actions.

Screen

Situation

Error Message

Reason

What To Do?

Process Editor or Monitor

You're using a process editor and an error message appears when there's an issue in the data mapping.

400 bad request

It can happen when the data provided is incorrect.

If the action runtime returns the output body, it's displayed to the user, so that the user can figure out the root cause and adapt the request structure accordingly.

Action Editor

You're using the Action Editor and the output schema doesn't match the response after test execution.

Failed to validate received response against output schema defined in action metadata: # required key [Parameter Name] not found.

Mismatch between expected output versus actual output, as per OpenAPI specifications.

The output response structure needs to be updated to match the actual API response.

Action Editor

You're using the Action Editor and the input schema doesn't match the actual API payload.

Failed to validate request payload against input schema defined in action metadata: [%s]

Mismatch between expected input versus actual input, as per OpenAPI specifications .

The input parameter in the test tab needs to be modified in order to send the correct payload.

Action Editor

You're using the Action Editor. An error occurs if the mandatory field in the input schema isn't sent as part of the request payload.

# required key [Input Field] not found

Mismatch between expected input versus actual input, as per OpenAPI specifications. For example, if a mandatory field such as "name" isn't provided in the request payload, the Action Editor throws an error that the field isn't found.

The input parameter in the test tab needs to be modified in order to send the correct payload.

Mandatory input parameters must be sent as input parameters.

To avoid this issue from occurring, you can also mark fields as not mandatory.

Action Editor

Skills schema versions aren't present in the metadata when using the Action Editor.

This version of the Action Project is not supported. Publish a new version of the project and try again

It happens when you try to publish Action Project 1.0 (older version).

Open the project in the Action Editor so that the project gets migrated to Action Project 2.0 (current version).

Action Editor

Values (input or default) refer to destination properties. It could be, for example, ${destination.someKey}. Using this method, the property is assigned a value from the destination. When the referenced property isn't present at the destination, an exception occurs.

Value for [%s] is not found in destination configuration of [%s]

This error can have multiple causes.

Contact the subaccount administrator for the destination to resolve this issue.

Action Editor

Headers in the response are in string format. Based on the type specified for each header property at Start of the navigation pathbinding Next navigation step output Next navigation step headersEnd of the navigation path, it converts header values to the specified type.

Unable to process the header [%s]:

This error can have multiple causes.

Correct the header types by modifying OpenAPI Specifications or action metadata in the editor. It can be rectified by looking at the raw API response and checking the response header. 

Action Editor

If the response size is greater than 1 MB.

Response size exceeded configured limit.

Response size is larger than actions can handle at the moment. 

Limit the response size or use $top.

Action Editor

CSRF is the key point of failure if there's an authorization or authentication issue.

CSRF token fetch failed due to 401 authentication issue

Authentication details provided in the destination are incorrect.

Check the following:

  • Configure the destination with the correct authorization or authentication information.

  • Check that the sap-client property in the destination is configured correctly or credentials are provided properly.

Action Editor

CSRF is the key point of failure if there's an authorization or authentication issue.

CSRF token fetch failed due to 403 forbidden request

Authentication details provided in the destination are incorrect. There's no CSRF token added to the POST call or you don't have authorization to make the API call.

Enable the CSRF token for the Action Project or in a respective Action.

Action Editor

You're using the Action Editor and the CSRF token endpoint fails to return a CSRF token.

X-CSRF token missing in the response headers

HEAD or GET request is successful, but token isn't present.

Check to verify if the raw API response contains an x-csrf-token in the response headers. If the token is not present, then a CSRF token needs to be configured at the API endpoint.

Action Editor

Your token endpoint URI format is incorrect if you're using the Action Editor.

Couldn't fetch CSRF token: Illegal character in path at index …

The CSRF token URI format is incorrect.

Check the URI format that you provided in the Action Editor and update the correct URI.

Configuration Errors

In this section, you can find error messages related to the connections that can help you troubleshoot any issues with your connections.

Scenario 1: Cloud Connector Configuration

Problem: When working with Actions, you want to fetch details from another SAP application, such as integrating an ABAP system through Cloud Connector.

Cause: It's possible that you're not receiving accurate responses because of the following issues:
  • The virtual host to internal host mapping might not have been done correctly in the Cloud Connector.

  • If you're experiencing a 401 Unauthorized error while attempting to execute an action against an On-Prem system for the first time but receiving a 200 OK response from the second attempt onwards.

  • The usage of sap-client is not correct.

Solution:
  1. Go to the node default_host/sap/opu/odata/sap/<name_of_the_customer_odata_service>.

  2. Navigate to the Logon Data tab.

  3. Allow Use All Logon Procedures.

Scenario 2: Destination Errors

Problem: You're using Actions and find that the configured destination is not reachable.

Cause: The configuration is incorrect.

Solution: Refer to the documentation provided and make the necessary configuration changes to the destination accordingly.