Skip to content

docs: crosslink API error references#166

Open
rachaelrenk wants to merge 8 commits into
mainfrom
rachael/crosslink-error-docs
Open

docs: crosslink API error references#166
rachaelrenk wants to merge 8 commits into
mainfrom
rachael/crosslink-error-docs

Conversation

@rachaelrenk
Copy link
Copy Markdown
Contributor

@rachaelrenk rachaelrenk commented Jun 1, 2026

Summary

  • Add focused crosslinks from API/SDK, CLI, cloud agent, integration, billing, and run-status docs to the relevant API/SDK troubleshooting error pages.
  • Keep error-page links in diagnostic and procedural contexts instead of requirements or prerequisites sections, including moving the GitHub Actions API-key link next to the warp_api_key workflow example.
  • Format integration setup failure guidance as scannable tip callouts with common error-code bullets for Slack, Linear, GitHub Actions, the integrations quickstart, and CLI integration setup.
  • Consolidate the duplicated Integrations Overview quickstart into a shorter Get started section that keeps the setup video and links to the dedicated quickstart, integration setup, Slack, and Linear docs.

Validation

  • git diff --check
  • Local API/SDK troubleshooting error link target check
  • npm run typecheck (passes with existing hints)
  • npm run build (passes with existing non-blocking Astro prerender warnings)
  • npm run lint not run: trunk is not installed in this environment

Artifacts

Co-Authored-By: Oz oz-agent@warp.dev

Add focused links from cloud agent, CLI, integration, billing, and API docs to the relevant API/SDK troubleshooting error pages.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Jun 1, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 1, 2026 6:47pm

Request Review

@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented Jun 1, 2026

@rachaelrenk

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This documentation PR adds focused crosslinks from Cloud Agents, integrations, CLI, API/SDK, and billing guidance to the API error reference pages. I checked the changed links against the local docs tree, reviewed the content for documentation accuracy and style, applied the supplemental security pass, and found no blocking issues.

Concerns

  • No general review concerns found.
  • No material spec-alignment concerns found; the provided spec context states that no approved or repository spec context was found.
  • No security concerns found; this PR only updates documentation links and explanatory text.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
Copy link
Copy Markdown
Collaborator

@hongyi-chen hongyi-chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but high-level feedback:

I think we should audit each of the errors we’re surfacing. Some of them may not be necessary to call out explicitly. For example, if we’re already in a billing section talking about running out of credits, I don’t think we need to also mention that users will see an “insufficient credits” error.

I’d also be careful about embedding too many error message references throughout canonical docs pages. I like the tips approach, but I’d lean toward putting these in a dedicated section at the bottom of the page, like “Troubleshooting,” rather than weaving them into the main flow everywhere.

For more details on configuring integrations and environments in Warp, please refer to [Integration setup](/reference/cli/integration-setup/).
* [Integrations quickstart](/agent-platform/cloud-agents/integrations/quickstart/) - Trigger your first agent from Slack and watch the run from start to finish.
* [Integration setup](/reference/cli/integration-setup/) - Configure environments, GitHub authorization, CLI flags, and integrations in more detail.
* [Slack](/agent-platform/cloud-agents/integrations/slack/) and [Linear](/agent-platform/cloud-agents/integrations/linear/) - Learn how each integration behaves, how agents are triggered, and what teammates see in those tools.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also reference the other integrations available as well


* Runs are not tied to any individual user.
* On Build, Max, and Business plans, Warp bills the team owner: the owner's plan-included credits, then the owner's add-on credits. With auto-reload off, the request is blocked when both pools are depleted. With auto-reload on, usage can trigger a reload on the owner's add-on credit pool subject to the team-wide monthly spend cap.
* On Build, Max, and Business plans, Warp bills the team owner: the owner's plan-included credits, then the owner's add-on credits. With auto-reload off, the request is blocked when both pools are depleted, which can return [`insufficient_credits`](/reference/api-and-sdk/troubleshooting/errors/insufficient-credits/). With auto-reload on, usage can trigger a reload on the owner's add-on credit pool subject to the team-wide monthly spend cap.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we always need to surface these insufficient-credits mentions, it's pretty straightforward and I don't think it's necessary to include here

Integrations are created at the team level, not per-user. Once a Slack or Linear integration is installed, everyone on your Warp team can use **@Oz** in the connected workspace. The integration behaves the same way for all teammates, and everyone shares the same underlying environment configuration.

When someone triggers a cloud agent for the first time, Warp may prompt them to grant GitHub authorization so the agent can open pull requests or push branches under their identity. This allows each run to use the correct permissions without requiring additional setup from an admin.
When someone triggers a cloud agent for the first time, Warp may prompt them to grant GitHub authorization so the agent can open pull requests or push branches under their identity. This allows each run to use the correct permissions without requiring additional setup from an admin. Missing authorization can return [`external_authentication_required`](/reference/api-and-sdk/troubleshooting/errors/external-authentication-required/).
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally, I don't think we should include this many error cases embedded throughout the canonical pages - I think we can have a troubleshooting section at the bottom of these pages, but if I'm setting up an integration, billing, or a team, etc, I don't think I need to know about the error codes everywhere throughout. I would probably go to a troubleshooting or separate section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants