← ClaudeAtlas

automation-pilot-debuggerlisted

Debug and troubleshoot SAP Automation Pilot execution failures. Use when executions fail, need to investigate errors, check execution health (pass/fail summary), or understand error patterns. Provides error pattern matching with suggested fixes.
williamcorrea23/sap-router-skill · ★ 1 · AI & Automation · score 66
Install: claude install-skill williamcorrea23/sap-router-skill
# SAP Automation Pilot Debugging & Troubleshooting Debug failed Executions, check recent execution health, and investigate error patterns. Use this skill when things go wrong — not for normal operations. ## Quick Diagnostics ### Check Recent Executions Summary ```bash # Last 10 executions summary curl -s -u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \ "https://$AUTOPI_HOSTNAME/api/v1/executions?limit=10" # Last 5 failed executions curl -s -u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \ "https://$AUTOPI_HOSTNAME/api/v1/executions?status=FAILED&limit=5" # Last 5 successful executions curl -s -u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \ "https://$AUTOPI_HOSTNAME/api/v1/executions?status=FINISHED&limit=5" ``` ### Investigate a Specific Execution ```bash EXEC_ID="your-execution-id" curl -s -u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \ "https://$AUTOPI_HOSTNAME/api/v1/executions/$EXEC_ID" curl -s -u "$AUTOPI_USERNAME:$AUTOPI_PASSWORD" \ "https://$AUTOPI_HOSTNAME/api/v1/executions/$EXEC_ID/logs" ``` --- ## Error Pattern Reference ### "Parameter 'X' is required but not provided" **Error**: API returns 400 with message like `"Parameter 'smtpHost' is required but not provided"` even when the parameter IS provided in the JSON payload. **Root Cause**: Known issue (possibly canary environment specific or permission-related) where the execution API fails to recognize required input parameters passed at trigger time. **Workaround**: 1. **Avoid required input parameters** - make all input