ISSUE: Web Library: Add Note (z7)
Issue
When adding a Note via the Web Library to an item, error received:Error
Received error from Zotero server: PATCH data not provided.This is in a small modal on the Web Library page.
Details
* The note does get created, but remains as Untitled Note* Notes added to the note do not save
* In my local Zotero, the note gets synced, as an empty, untitled note
* Notes created in local Zotero get synced correctly to the Web Library
Questions
* Am I adding the note incorrectly?* Could I have configured anything incorrectly?
Platform
* Windows 10* Zotero 7.0.32 (64-bit)
* Chrome 144
I am not in a position to upgrade versions currently.
Thank you
SE
Upgrade Storage
Exact steps:
1. login to Web Library2. select item
3. select Notes
4. select [Add Note] button
4.1. this creates an 'untitled note'
5. add text to new note
6. Error message
Screenshot
https://s3.amazonaws.com/zotero.org/images/forums/u14765951/tikvmp63rf9h60c50u9c.pngConsole output
zotero-web-library.js:10 Loading the font 'https://cdn.scite.ai/assets/fonts/scite-icons/scite-icons.woff2?v=5' violates the following Content Security Policy directive: "default-src 'self' https://api.zotero.org". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback. The action has been blocked.
zotero-web-library.js:10 Loading the font 'https://cdn.scite.ai/assets/fonts/scite-icons/scite-icons.woff?v=5' violates the following Content Security Policy directive: "default-src 'self' https://api.zotero.org". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback. The action has been blocked.
zotero-web-library.js:10 Loading the font 'https://cdn.scite.ai/assets/fonts/scite-icons/scite-icons.ttf?v=5' violates the following Content Security Policy directive: "default-src 'self' https://api.zotero.org". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback. The action has been blocked.
zotero-web-library.js:1 [Violation] 'message' handler took 236ms
[Violation] Forced reflow while executing JavaScript took 69ms
zotero-web-library.js:10 GET https://www.zotero.org/static/web-library/icons/12/item-type/link.svg net::ERR_ABORTED 404 (Not Found)
contentScript.bundle.js:93 [Violation] 'setTimeout' handler took 54ms
zotero-web-library.js:57 PATCH https://api.zotero.org/users/{XX-MYUSERID-XX}/items/GE3FIWAE?format=json 400 (Bad Request)
zotero-web-library.js:57 PATCH https://api.zotero.org/users/{XX-MYUSERID-XX}/items/GE3FIWAE?format=json 400 (Bad Request)
zotero-web-library.js:57 Uncaught (in promise) F: 400: Bad Request
Full console output: https://se-opengist.fly.dev/soyelf/f7a24699ddf0429d974c4db02eb4ef18
Best, SE
Are you able to edit fields, such as the title, in the web library at all? If not, are you able to change the date or authors (these two use slightly different requests)?
Lastly, if you’re using any browser extensions, try disabling them temporarily or testing the issue in a different browser.
I used Firefox v147 this morning, no extensions.
* Notes: same issue
* Existing items — editing fields — no errors
* Adding items — same issue as Notes (the item gets created as an empty item, but any field changes receive the error)
* Empty notes/items do sync to desktop (as empty)
* Field changes do sync to desktop
I have also discovered that a 'workaround' is selecting a different item, and then selecting the 'empty item'/item with 'untitled note'. Any changes made subsequently to that item/individual note persist with no error.
Best, SE