-
-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
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:
- 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
- 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!
Metadata
Metadata
Assignees
Labels
No labels