Comments (11)
Encountered same issue for Tags:
APIResponseError: body failed validation:
body.properties.Tags.multi_select[1].name.length should be <= `100`
I fix it by deleting the long tags manually
from notero.
Hi! Oh, I see, because I had the file in multiple collections, it was causing the collections string to be too long. I couldn't change the 'main search' collections because that documents the lit review, but moved 'main search' into another library and that seems to have fixed it. Thank you!
from notero.
Hi @cleovalentine, thanks for reporting this!
I believe what's happening here is that Notero is trying to sync a value for the Collections
multi-select property that is longer than what the Notion API supports. This can happen if a Zotero item is nested in collections such that the concatenation of the collection names (joined with ▸
) is longer than 100 characters.
For example, with the item in the screenshot below, we'll end up trying to create a multi-select option with the following name that ends up being 117 characters:
This name has 27 characters ▸ This name has 27 characters ▸ This name has 27 characters ▸ This name has 27 characters
Does this seem to describe what you have in Zotero? If so, a quick (though admittedly not great) workaround would be to either remove a layer of nesting in your collections or shorten the names of some of the collections.
For a proper fix, it looks like we'll need to truncate the value to at most 100 characters. I could add ellipses to the end of anything longer than 100 characters, but I wonder if it'd make more sense to add the ellipses somewhere in the middle since the end would be the most deeply nested collection and thus the most "precise" part of the name. Do you have any thoughts on that?
from notero.
Hi! I'm having the same issue as @cleovalentine. I tried removing layers of nesting, and shortening the names of collections, but I'm still getting the same error (with the same amount of characters). Any clue what's going on here?
from notero.
Hi @SofiCourtney! It sounds like you've done everything I'd suggest, so to help me figure out what's still going on I'll need to get some more logs from you.
If you're up for it, would you mind installing this test build that enables more logging and then send me a screenshot of the output in the error console when you try to sync an item? The below video shows how to find the logs in the error console.
Thanks!
CleanShot.2023-04-17.at.21.27.06-converted.3.mp4
from notero.
from notero.
Hi @SofiCourtney, I forgot to mention that the test builds are named as .zip
instead of .xpi
, but they work the same way. Meaning, you don't want to extract the files from the .zip
but instead install the entire .zip
the same way you do with a .xpi
.
Let me know if that works!
from notero.
from notero.
Thanks for sending that, @SofiCourtney! It looks like the collection that's causing trouble is the following:
Main search ▸ databases searched ▸ Natural Science Collection Search ▸ Abstract screen ▸ included ▸ fire
You'll need to either remove some nesting or shorten one of the collection names.
I hope to get a proper fix in for this soon, but let me know if you're able to work around it for now!
from notero.
Hi, I did both shorten the collection names and remove nesting, before posting my issue here. This is what the file path has looked like throughout these attempts:
from notero.
I see in your screenshot that the item being synced is in 5 different collections. I see that Full text ▸ fire
is one of them, but it's the collections under Main search
that appear to be causing the issue. Can you shorten the collections under Main search
to see if that helps?
from notero.
Related Issues (20)
- as long as I open the pdf, notero begins to sync HOT 7
- Add an icon for notero HOT 2
- Add a Zotero Library property to notion database
- Syncing Error Due to Combined Titles of Nested Collections Exceeding Notion's Character Limit HOT 4
- Make database not full width / allow toggling full width HOT 2
- inline equation is not rendered in notion note HOT 3
- Collection AutoSync list not showed on Windows 11 HOT 2
- Sync annotation authors
- Sync items added while Zotero window is closed
- API Response Error: text is expected to be rich_text HOT 3
- sync from notion to zotero HOT 1
- [Bug] Notero add-on still recognized but features are broken HOT 7
- could not find database error HOT 4
- Can't get sync of Notes working HOT 3
- APIResonseError: Could not find database with ID HOT 7
- Note syncing - split large requests into multiple requests
- Support custom property mapping HOT 1
- Collections Sync not working HOT 1
- APIResonseError: invalid request URL HOT 4
- Add 'Select All New Folders' option for automatic future folder synchronization HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notero.