pocolifo / noter-backend

0 stars 0 forks source link

Updating folder metadata fails (500) #21

Closed YoungerMax closed 11 months ago

YoungerMax commented 11 months ago

Request

POST /items/update/metadata?id=9d12a200-4181-46fe-bde0-2f325aedd7a8 HTTP/1.1
Host: localhost:8000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: http://localhost:3000/
Content-Type: text/plain;charset=UTF-8
Content-Length: 28
Origin: http://localhost:3000
DNT: 1
Connection: keep-alive
Cookie: authenticate=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjU0YTJjOTUxLTM5MzMtNGVlOC1iNDllLTYwOGIwYjMyOGNmZSJ9.CMYpvBSrlEk-rVnyNsbfjHc3K-nfqMdbj32SfzsWZgU
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site

{"name":"Folder ","path":[]}

Response

HTTP/1.1 500 Internal Server Error
date: Wed, 26 Jul 2023 18:16:30 GMT
server: uvicorn
content-length: 21
content-type: text/plain; charset=utf-8

Expected Response

Request succeeds and returns a 2xx code with the metadata of the folder (folder name) updated

deanOcoin commented 11 months ago

Update metadata was pushed during editing of it. Restored now thx