These are the scopes (all available options) for the Token being used:
But, whenever i try to create a task in a project, i get this 401
error:
{
"message": "missing, malformed, expired or otherwise invalid token provided"
}
These are the scopes (all available options) for the Token being used:
But, whenever i try to create a task in a project, i get this 401
error:
{
"message": "missing, malformed, expired or otherwise invalid token provided"
}
Reproduced the error on https://try.vikunja.io
curl --location --request PUT 'https://try.vikunja.io/api/v1/projects/12' \
--header 'Authorization: Bearer tk_1f8b45275c091839009ff1909b416cd4f4e52082' \
--header 'Content-Type: application/json' \
--data '{
"title": "TEST"
}'
Response:
{
"message": "missing, malformed, expired or otherwise invalid token provided"
}
Looks lime you’re using a nonexistent api endpoint. This one is probably what you’re looking for: Vikunja API documentation
Thanks, it works fine now!
The api docs i was using were obsolete.