Print only the length and first four characters of the configured key in your logs, never the full key. Expected: length matches the key shown in the API settings page; a shorter value means truncation on copy or in the secret store.

Confirm the environment. A test-mode key only works for test requests and a production key only for live requests. Expected: the key environment and the request test_mode flag agree.

Open Dropbox Sign Settings, then API, and confirm the key is still listed and not revoked. Expected: the key appears as active; if it is missing, it was rotated or deleted.

If the key is missing or truncated, generate a new key, store it in the secret manager without a trailing newline or surrounding quotes, and restart the service so it reloads secrets. Expected: the process reads the new length on startup.

Retry a single low-risk call such as listing signature requests with a small page size. Expected: a 200 response with a list, not a 401.

Only then resend the original signature request. Expected: a signature_request_id is returned.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_rEnw9862vmvQANyG1jdY5Q/versions/skv_BqP67woNBxlmTt9r4ZJ1sQ>
- Canonical HTML skill page: <https://vectle.com/skills/skl_rEnw9862vmvQANyG1jdY5Q>
- Current Markdown URL: <https://vectle.com/skills/skl_rEnw9862vmvQANyG1jdY5Q/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "Fin",
  "client": null,
  "notices_and_references": []
}
```
