application-integration-troubleshooting
Diagnoses failed, stuck, or silent Google Cloud Application Integration runs and Integration Connectors tasks using the REST API, Cloud Logging, and Cloud Monitoring
Install / Use
npx skills add google/skills --skill application-integration-troubleshootingInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Our assessment of application-integration-troubleshooting
application-integration-troubleshooting scores 98/100 on our quality scale, 30th of 756 Operations skills we index (top 4%).
Its SKILL.md is 24 KB long, well organised into 23 sections with 4 code examples: a thorough specification that gives an agent plenty to work with.
With 20,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 39 days ago, so application-integration-troubleshooting is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
application-integration-troubleshooting compared with similar skills
All 4 of these similar skills score higher than application-integration-troubleshooting; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| application-integration-troubleshooting (this skill)by google | 98 | 20.3k | 39d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 107.6k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.5k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 91.7k | today | MCP Server |
| crawl4aiby unclecode | 100 | 86.7k | today | MCP Server |
Frequently asked questions
- How do I install application-integration-troubleshooting?
- Run
npx skills add google/skills --skill application-integration-troubleshooting. The install tabs above show the steps for each supported agent. - Which AI agents does application-integration-troubleshooting work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is application-integration-troubleshooting safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is application-integration-troubleshooting still maintained?
- The repository was last updated 39 days ago, so application-integration-troubleshooting is actively maintained.
Skill content
View source on GitHubname: application-integration-troubleshooting metadata: version: "1.0.2" category: ApplicationDevelopment description: >- Diagnoses failed, stuck, or silent Google Cloud Application Integration runs and Integration Connectors tasks using the REST API, Cloud Logging, and Cloud Monitoring. Use when an integration fails, returns HTTP 200 without doing the expected work, hangs in a suspended or retry state, or hits IAM, run-as service account, connector health, or quota errors. Do not use for initial region provisioning (use application-integration-basics) or building and deploying versions (use application-integration-authoring).
Application Integration Troubleshooting
Diagnose and recover Google Cloud Application Integration executions that fail, stall, or appear to do nothing. This skill walks through execution state verification, per-task failure inspection, Cloud Logging and Cloud Monitoring checks, Integration Connectors health probes, suspension resolution, and IAM or quota checks.
Attribution
MUST READ: Before executing any gcloud command, REST API call, or Python
discovery-client call, you MUST read
Usage Attribution. For commands executed directly
in the terminal (never in generated scripts, Terraform, ADK agents, or user
code), prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:application-integration-troubleshooting)"
and add agent-skills/1.0 (skill:application-integration-troubleshooting) to
the User-Agent header of curl requests.
Tooling and Scope Boundaries
- REST is the interface. There is no
gcloud integrationscommand group and no Google-managed MCP server for Application Integration. Usecurlwithgcloud auth print-access-token, or the discovery-based Python client (googleapiclient.discovery.build("integrations", "v1")andbuild("connectors", "v1"); install withpip install "google-api-python-client>=2.100.0,<3" "google-auth>=2.20.0,<3") (changes host or credential state; get the user's approval first). - Generic
gcloudcommands apply for authentication (gcloud auth), enabling APIs (gcloud services), IAM checks (gcloud projects get-iam-policy,gcloud iam service-accounts get-iam-policy), and log queries (gcloud logging read). - Regional scope. Integrations, executions, connections, and execution logs live in a single Google Cloud region (
LOCATION), which is theLOCATIONin every REST path; nogclouddefault-region setting applies. Ask the user which region the integration is deployed in. If they don't know, start withus-central1and, ifexecutions.listis empty there, check the other Application Integration locations before concluding nothing ran (Step 2). - Sibling skills:
- Use
application-integration-basicsfor product concepts, enabling APIs, provisioning a region, initial IAM roles, and service limits. - Use
application-integration-authoringfor creating drafts, editing tasks and triggers, config variables, publishing,:executeand:schedulepayloads, and CI/CD export/import.
- Use
Safety and Confirmation Rules
- Read-only checks run freely:
executions.list,suspensions.list,connections.get,connectionSchemaMetadataget calls, runtime v2actions.list/entityTypes.list,gcloud logging read, andv2executions:troubleshoot. - State-changing actions require explicit user confirmation. Before canceling or replaying an execution, lifting or resolving a suspension, refreshing connector schema metadata, repairing connector eventing, publishing or unpublishing a version, or changing IAM bindings, show the exact command and wait for user approval.
- Host changes require approval. Before installing packages (
pip install) or changing global gcloud or credential state (gcloud config set ...such asauth/impersonate_service_account,gcloud auth application-default login/set-quota-project), show the exact command and wait for the user's approval. - Never bundle destructive scripts or delete integrations, versions, connections, or auth profiles during troubleshooting unless the user specifically asks.
Prerequisites and Setup Check
Before querying APIs, confirm the environment has credentials, active APIs, and the right target region:
# Verify active identity and project
gcloud config get-value account
gcloud config get-value project
# Check that required APIs are enabled on PROJECT_ID
gcloud services list --enabled --project="PROJECT_ID" \
--filter="config.name:(integrations.googleapis.com OR connectors.googleapis.com OR secretmanager.googleapis.com)"
- If an API is missing, ask the user before running
gcloud services enable integrations.googleapis.com connectors.googleapis.com secretmanager.googleapis.com --project="PROJECT_ID". - Ensure an active billing account is attached to
PROJECT_ID(required even when usage stays within the monthly free tier; see the Application Integration pricing page). - For Python discovery clients (install with
pip install "google-api-python-client>=2.100.0,<3" "google-auth>=2.20.0,<3") or ADK (ApplicationIntegrationToolset), authenticate withgcloud auth application-default loginandgcloud auth application-default set-quota-project PROJECT_ID(changes host or credential state; get the user's approval first).
Diagnostic Decision Flow
Follow these steps in order whenever a user reports that an integration failed, did nothing, or is stuck.
Step 1: Confirm Whether an Execution Ran and Check Its True State
Do not rely on an HTTP 200 status from :execute as proof that every task succeeded (note: integrations:test also exists in the v1 REST API, but its required TestIntegrationsRequest.clientId value is not publicly documented, so do not invent one; test by publishing to a non-production project and calling :execute). As a diagnostic rule, always check the response payload and execution record because:
- The required verification is the execution record from
executions.list?filter=execution_id="EXECUTION_ID"—inspectexecutionDetails.state, each task'staskExecutionState, andErrorInfoinresponseParameters(do not rely on the legacy/deprecatedexecutionFailedfield, which is not a supported public signal). - If the caller passed
"doNotPropagateError": trueon:execute, the API returns HTTP 200 with anexecutionIdand places error details inside event parameters instead of returning an HTTP error. - A duplicate
requestIdon:executeor:schedulereturns the previous execution's response without running a new execution. - Task failure policies (
IGNOREandNONE) allow an integration to continue or finish asSUCCEEDEDdown an alternate branch even when an individual task failed.
List executions for the integration (use - as INTEGRATION_NAME to search across all integrations in the region; the discovery doc does not specify whether orderBy=create_time sorts ascending or descending, so add a CreateTimestamp filter or paginate with pageToken if needed):
curl -sS -H "Authorization: Bearer $(gcloud auth print-access-token)" \
"https://integrations.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/integrations/INTEGRATION_NAME/executions?pageSize=10&orderBy=create_time&snapshotMetadataWithoutParams=true"
Once you have the EXECUTION_ID, fetch its full ExecutionDetails and per-task states (use filter, snapshotMetadataWithoutParams=true, and readMask on executions.list—never the deprecated truncateParams [UI-only] or filterParams.* [internal-only] parameters):
curl -sS -H "Authorization: Bearer $(gcloud auth print-access-token)" \
"https://integrations.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/integrations/INTEGRATION_NAME/executions?filter=execution_id%3D%22EXECUTION_ID%22"
To filter executions.list by state, use the state field (= or !=) with unquoted ExecutionDetails.state values (for example, filter=state=FAILED, filter=state!=SUCCEEDED, filter=state=CANCELLED, or filter=state=FAILED OR state=CANCELLED, URL-encoded as filter=state%3DFAILED or filter=state%3DFAILED%20OR%20state%3DCANCELLED); use state (not eventExecutionState, as shown on the REST reference page, or event_execution_state in the API reference's filter description), and use the supported filter keys (execution_id, state, update_time, workflow_name, trigger_id, CreateTimestamp, parameter_type)—camelCase variants such as executionId are not supported even though some docs examples show them.
Step 2: What If No Execution Record Exists?
If executions.list returns no matching run, check these five causes before assuming the trigger never fired:
| Cause | Symptom | What to verify |
|---|---|---|
| Wrong region | Empty list in LOCATION | Check https://console.cloud.google.com/integrations or list integrations in other regions. |
| API trigger 403 | Caller got HTTP 403 PERMISSION_DENIED | API trigger auth denials fail before execution creation; nothing is written to execution logs. Check caller IAM and roles/iam.serviceAccountUser on the run-as service account. |
| API trigger payload > 8 MB | Caller got an error | Cumulative API trigger input variables exceed the 8 MB limit, so the integration does not start. |
| Local logging disabled | Integration ran, but logs are empty | Check IntegrationVersion.databasePersistencePolicy (DATABASE_PERSISTENCE_DISABLED = Disable; DATABASE_PERSISTENCE_POLICY_UNSPECIFIED = Enable (sync), the API default; DATABASE_PERSISTENCE_ASYNC = Enable (async), the console default). Also, if total integration data exceeds 10 MB (up to the 30 MB limit), local logging is disabled automatically. |
| Version not ACTIVE | Trigger never fires | Only an ACTIVE (published) version runs from triggers. After publishing, an older version can keep serving for up to 10 minutes due to eventual consistency. |
Step 3: Branch by Execution State (ExecutionDetails.state)
See Execution States for the full state reference, task-level states (TaskExecutionDetails.taskExecutionState), filter syntax, and cancel/replay rules.
| ExecutionDetails.state | Console status | Meaning and next step |
|---|---|---|
| FAILED | Failed | Check ErrorInfo (message, code) in responseParameters, inspect the failing task's taskExecutionState (FAILED or FATAL), and run Step 4 (:troubleshoot and Cloud Logging). |
| SUCCEEDED | Succeeded | If expected work did not happen, inspect taskExecutionDetails for tasks in SKIPPED (edge condition false) or FAILED (masked by IGNORE or NONE retry strategy). |
| CANCELLED | Canceled | User canceled the run, a new integration version was published while the run was suspended, a SYNC run hit the 2-minute timeout, or a replayed run hit the 10-minute deadline. |
| SUSPENDED | Suspended | Waiting on an Approval task (resolvable in the Cloud console UI or via suspensions:resolve) or a Suspend task (resumable via suspensions:lift). See Suspensions. |
| RETRY_ON_HOLD | Retry on hold | A task or integration failed with a temporary error and is waiting in the backoff retry queue. |
| PROCESSING | In process | Currently running. Check whether an ASYNC run is approaching the 10-minute timeout. |
| PENDING | On hold | Scheduled or temporarily paused and waiting to be triggered. |
Step 4: Inspect Logs, AI Root Cause, and Subsystem Health
- Run AI Troubleshoot (v2 REST API) on a failed execution to get a structured root-cause summary (requires
integrations.executions.get):curl -sS -H "Authorization: Bearer $(gcloud auth print-access-to
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
107.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.5kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
91.7k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
86.7kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key. Join our Discord https://discord.gg/VuxzM8mtf
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
