---
name: salesloft-common-errors-be48d5a6a2f4
description: >-
  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".
argument-hint: "[repository-path] [redacted-error]"
allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit
version: 1.6.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
tags:
- saas
- salesloft
- troubleshooting
model: inherit
effort: medium
compatibility: Designed for Claude Code
---
# 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 under `metadata`.
- Salesloft documents a singular `error` for 403 and 404 responses.
- A 422 response uses a field-keyed `errors` object and can report multiple validation failures.
- A 429 should be evaluated with `x-ratelimit-endpoint-cost` and `x-ratelimit-remaining-minute` plus 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

1. Reproduce once with secrets and record values redacted before persistence.
2. Confirm base URL, method, path, content type, query encoding, and timeout.
3. Classify authentication, permission/visibility, missing resource, validation, rate, transport, or provider failure.
4. Compare the exact endpoint's required scope and allowed parameters with the request.
5. Apply the smallest correction and rerun a read-only or fixture proof first.
6. 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.

```text
status=422; class=validation; fields=email_address; secrets=redacted; retry=no
```

## Resources

- [Skill-specific official documentation](references/official-docs.md)
- [Request and response format](https://developers.salesloft.com/docs/platform/api-basics/request-response-format/)
- [Rate limits](https://developers.salesloft.com/docs/platform/api-basics/rate-limits/)


---
Source attribution: jeremylongshore
Original project: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/ab85a061f7bcc039dac13ee193de7a4cd4388571/plugins/saas-packs/salesloft-pack/skills/salesloft-common-errors/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2025 Jeremy Longshore

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: jeremylongshore
Original project: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/ab85a061f7bcc039dac13ee193de7a4cd4388571/plugins/saas-packs/salesloft-pack/skills/salesloft-common-errors/SKILL.md
Attribution basis: Source repository record

Fields of work: Sales
Roles: Account Executive, Business Development, Customer Success Manager, Sales Operations, Sales Development Rep (SDR)
Specialties: API, Backend, Design, Frontend, Testing
Tools: Salesloft
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 43575c8fa066995b2804e34faba2149704b5424525e677560e886f32d94793b3
