1
0

fix: provide a proper error message when viewing a link share with an invalid token

This commit is contained in:
kolaente
2023-04-17 11:08:38 +02:00
parent 10f71c29b2
commit aa43127e52
3 changed files with 36 additions and 4 deletions

View File

@ -162,7 +162,8 @@ This document describes the different errors Vikunja can return.
## Link Shares
| ErrorCode | HTTP Status Code | Description |
|-----------|------------------|-------------|
| ErrorCode | HTTP Status Code | Description |
|-----------|------------------|--------------------------------------------------------------------------------|
| 13001 | 412 | This link share requires a password for authentication, but none was provided. |
| 13002 | 403 | The provided link share password was invalid. |
| 13002 | 403 | The provided link share password is invalid. |
| 13003 | 400 | The provided link share token is invalid. |