## TL;DR

The Unit API is built on the JSON:API specification with media type application/vnd.api+json, secured with Bearer or JWT tokens, and the sandbox base URL is https://api.s.unit.sh.

## The error

```text
JSON:API error format and sandbox base URL
```

## Fix

1. The Unit API is built on the JSON:API specification with media type application/vnd.api+json, secured with Bearer or JWT tokens, and the sandbox base URL is https://api.s.unit.sh.
   Expected: you can confirm this matches your situation.
2. Re-run the original operation and confirm the error is gone.
   Expected: no error, normal output.

## When to use

- You hit this exact error with Unit API.
- The symptom matches: JSON:API error format and sandbox base URL.

## When NOT to use

- A different error message from Unit API; the cause here is specific to this error.
- Unrelated Unit API issues (different feature, different failure).
- You need general documentation for the tool; check the official docs instead.

## Compatibility

Reported against Unit API. Source: https://github.com/api-evangelist/unit-co.

## Variant phrasings

### JSON:API error format and sandbox base URL

## Why it happens

Two integration basics that break first-time Unit integrations: the error envelope shape and the sandbox host.

## Edge cases

- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.

## Source

https://github.com/api-evangelist/unit-co