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

Unable to create bookmark through API #181

Open
shrnt opened this issue Mar 24, 2025 · 0 comments
Open

Unable to create bookmark through API #181

shrnt opened this issue Mar 24, 2025 · 0 comments

Comments

@shrnt
Copy link

shrnt commented Mar 24, 2025

Describe the bug
I am unable to create a bookmark when using API. Using the GUI, I was able to create a bookmark. I was also able to successfully call other endpoints like POST /auth, GET /bookmarks and GET /categories
When creating a bookmark, I get the error "value" does not match any of the allowed types.

To Reproduce
Steps to reproduce the behavior:

  1. Send API call
curl -H 'Authorization: Bearer <token>' \
-X POST \
-d '{"url": "https://www.404media.co/you-cant-post-your-way-out-of-fascism/"}' \
https://<grimoire-url>/api/bookmarks
  1. receive {"success":false,"error":"\"value\" does not match any of the allowed types"}

Expected behavior
Bookmark should be successfully created

Additional context
Just started grimoire and am trying to create and API to import my bookmark links from another app.
Using Docker, latest image. have a reverse proxy set up, although I doubt it's the problem since the other APIs work.

Thanks a lot!

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

1 participant