salesloft-common-errors

v2026.09.24

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".

GitHub
安装命令
npx skhub add jeremylongshore/salesloft-common-errors
Markdown
SKILL.md

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

StatusResponse
401Check credential expiry and Bearer injection; refresh or reacquire once.
403/404Preserve singular error; verify scope, visibility, team, and path.
422Preserve every field in errors; correct only validated inputs.
429/5xxBound 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

Resources

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/.curated/salesloft-common-errors

默认分支

main

最新提交

e5a6c3b

Tree SHA

c2dc8e8