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

Documentation need to be updated: code = InvalidArgument desc = filter is required #70

Closed
kyxap opened this issue May 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kyxap
Copy link

kyxap commented May 23, 2024

Describe the bug

Seems like curl example need to be update.

Also wound be nice to have some documentation published for the service api

Steps to reproduce

  1. Go to https://www.usememos.com/docs/security/access-tokens
  2. Try to use curl example
  3. See output
curl https://demo.usememos.com/api/v1/memos    -H "Accept: application/json"    -H "Authorization: Bearer {YOUR_ACCESS_TOKEN}"
{"code":3, "message":"failed to build find memos with filter: rpc error: code = InvalidArgument desc = filter is required", "details":[]}

The version of Memos you're using

0.22.0

Screenshots or additional context

image

@kyxap kyxap added the bug Something isn't working label May 23, 2024
@boojack boojack transferred this issue from usememos/memos May 25, 2024
@boojack
Copy link
Contributor

boojack commented May 25, 2024

The filter will be required when user not logged in, so you may have entered an incorrect access token.

References:

@boojack boojack closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants