When accessing google workflow cancel execution endpoint I get: Invalid JSON payload…
- User
When accessing google workflow cancel execution endpoint I get: Invalid JSON payload received. Unknown name "": Root element must be a message.
- Assistant
It seems like you're encountering an issue with the Google Workflows API, specifically when trying to cancel an execution. The error message suggests that there's an issue with the JSON payload you're sending.
The error "Unknown name """ typically means that there's an empty key in your JSON object, which is not allowed. The error "Root element must be a message" suggests that the structure of your JSON payload might not be correct.
Here's an example of what a correct JSON payload might look like when canceling an execution:
{ "name": "projects/your-project-id/locations/your-location/workflows/your-workflow-id/executions/your-execution-id" }Please replace "your-project-id", "your-location", "your-workflow-id", and "your-execution-id" with your actual project ID, location, workflow ID, and execution ID, respectively.
If you're still having trouble, please provide more details about how you're making the request, including any code you're using, so I can assist you better.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.