Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New API code for unknown UUIDs on lookup? #15

Closed
CrsiX opened this issue Mar 28, 2023 · 0 comments
Closed

New API code for unknown UUIDs on lookup? #15

CrsiX opened this issue Mar 28, 2023 · 0 comments

Comments

@CrsiX
Copy link
Member

CrsiX commented Mar 28, 2023

POST /api/v2/friends returns for unknown UUIDs:

{
  "message": "Invalid username",
  "status_code": 1009
}

Change to "unknown UUID" or introduce a new field (aka more ApiErrorResponse types) for that? After all, the code 1009 will be mapped to something like "the username is invalid, as it may contain forbidden characters".

@CrsiX CrsiX added the help wanted Extra attention is needed label Mar 28, 2023
myOmikron added a commit that referenced this issue Mar 28, 2023
@CrsiX CrsiX removed the help wanted Extra attention is needed label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants