The error indicates that the ServiceNow Create record connector action is being called without a populated body parameter. In Copilot Studio, this typically means the inputs that should map into the request body are not configured or are resolving to blank at runtime.
To fix this, ensure that the connector action’s required body fields are explicitly set and not empty:
- Open the agent in Copilot Studio.
- Locate the ServiceNow Create record connector tool:
- If configured as an agent-wide action:
- Go to Agents → select the agent → Actions.
- Select the ServiceNow Create record action.
- Select Inputs and verify that all required fields that make up the request body (for example, table name, and required column values) are mapped from variables, user input, or constants.
- If configured inside a topic:
- Go to Agents → select the agent → Topics.
- Open the topic that calls the ServiceNow Create record action.
- On the canvas, select the ServiceNow connector node.
- Under Inputs, confirm that each required field is bound to a value (for example, from earlier question nodes or variables).
- Select Advanced inputs and check if there is a
bodyor additional fields that must be filled. Make sure they are not left blank.
- If configured as an agent-wide action:
- Ensure that any variables used in these inputs are actually set earlier in the topic flow (for example, via user questions or data actions) and cannot be null/empty when the connector is invoked.
- Save and republish the agent, then test again.
If the body is still blank, enable diagnostic logging to inspect the actual payload being sent:
- In the Test chat panel, open the Activity map to see the tool invocation.
- Go to Settings → Diagnostics and enable Connection tracing with log level Verbose.
- Check Monitor → Connection logs for the ServiceNow connection and review the request payload to confirm whether the body is missing or fields are empty.
Once the required body fields are populated with non-empty values, the ConnectorActionBadRequest error for the missing body parameter should be resolved.
References: