debug-api
OfficialSpeed up diagnosing Web SDK API failures.
AuthormParticle
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Diagnose HTTP/network/API failures in the mParticle Web SDK by systematically inspecting requests, responses, and API client state to identify root causes.
Core Features & Use Cases
- Network request/response inspection across Events, Identity, and Config APIs to identify failure modes and misconfigurations.
- Deterministic logging of API client state in src/apiClient.ts, identityApiClient.ts, and src/configAPIClient.ts, and guidance to reproduce issues.
- Guided investigation flow covering common root causes: authentication, endpoint correctness, DTO contract drift, and batch upload timing.
Quick Start
Reproduce the issue in the browser and start by opening the Network tab to inspect requests to /v1/[workspace]/events, /v1/[workspace]/identify, and /v1/[workspace]/config to pinpoint the failing step.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: debug-api Download link: https://github.com/mParticle/mparticle-web-sdk/archive/main.zip#debug-api Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.