ory / ory/network

API docs show incorrect example error responses

Open
#424 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
96
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Preflight checklist
Ory Network Project

https://not-relevant.com

Describe the bug

Image

It seems the only error example available, no matter the status code, is always a 404. Seems to me that it's not just a 404 that's available.

Reproducing the bug
  1. Go to https://www.ory.sh/docs/reference/api#tag/identity/operation/listIdentities (for example)
  2. Click error code buttons and note the difference between status codes.
Relevant log output

Relevant configuration

Version

Not relevant

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Identity API reference page linked in the issue and compare the error-code buttons with their displayed examples. Done means each documented status code shows the corresponding error response rather than the same 404 example.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.