salesloft-common-errors
Classify Salesloft API failures from status, documented error envelopes, auth context, visibility, and rate metadata without exposing customer data. Use when an integration returns 401, 403, 404, 422, 429, or 5xx. Trigger with "Salesloft error", "Salesloft request failed", or "debug Salesloft API".
Allowed Tools
Provided by Plugin
salesloft-pack
Production Salesloft operator workflows for authentication, cadences, synchronization, rate control, webhooks, security, deployment, and incident evidence
Installation
This skill is included in the salesloft-pack plugin:
/plugin install salesloft-pack@claude-code-plugins-plus
Click to copy
Instructions
Salesloft Error Triage
Overview
This skill identifies the failing contract before changing code, scopes, or credentials. It retains structured error meaning while excluding Bearer values and sales-record payloads.
Prerequisites
- Method, path template, status, timestamp, and team alias
- Redacted request shape and response content type
- Auth flow, granted scopes, and acting-user role
- Rate headers and attempt count when present
Tool Discipline
Use Read, Glob, and Grep to trace request construction and response handling. Use WebFetch only for the exact official Salesloft contract. Use Write or Edit after the failure class is supported by evidence.
Current Contract
- Success data is under
data; list metadata is undermetadata. - Salesloft documents a singular
errorfor 403 and 404 responses. - A 422 response uses a field-keyed
errorsobject and can report multiple validation failures. - A 429 should be evaluated with
x-ratelimit-endpoint-costandx-ratelimit-remaining-minuteplus any retry guidance actually returned.
Authentication
Record only auth type, expiry state, scope names, and acting-user identity. Never capture an access token, refresh token, client secret, API key, or authorization code.
Instructions
- Reproduce once with secrets and record values redacted before persistence.
- Confirm base URL, method, path, content type, query encoding, and timeout.
- Classify authentication, permission/visibility, missing resource, validation, rate, transport, or provider failure.
- Compare the exact endpoint's required scope and allowed parameters with the request.
- Apply the smallest correction and rerun a read-only or fixture proof first.
- For writes, require payload approval and read-after-write verification.
Approval Boundaries
Do not rotate credentials, broaden scopes, change production data, or retry an uncertain write merely to test a theory. Escalate when the failure cannot be reproduced safely.
Output
Return a redacted symptom, evidence, failure class, smallest supported correction, safe verification, and escalation owner.
Error Handling
| Status | Response |
|---|---|
| 401 | Check credential expiry and Bearer injection; refresh or reacquire once. |
| 403/404 | Preserve singular error; verify scope, visibility, team, and path. |
| 422 | Preserve every field in errors; correct only validated inputs. |
| 429/5xx | Bound retries, retain rate state, and surface exhaustion. |
Examples
The example below shows the minimum redacted evidence expected from a successful invocation of this operator workflow.
status=422; class=validation; fields=email_address; secrets=redacted; retry=no