Comments (16)
Hello I experiment the same with macbook m3 (16-inch, Nov 2023) , I have HAR capture and console logs I can provide. HAR is quite sensitive so let me know.
Sonoma 14.4.1 (up to date when writing this)
tested with edge,chrome,safari
deactivated ublock, and few unrelated plugin, reduced tracking prevention from strict to balanced
nothing did it
from obsidian-importer.
I am having a similar problem on Windows 10, using Firefox. It did briefly authorize properly and allow imports before this error suddenly started appearing after a few attempts. However, images would just fail to import on an arbitrary basis beforehand.
from obsidian-importer.
Can confirm error on Linux and Windows 10 too.
from obsidian-importer.
Same error for me on Firefox on Windows 10. Auth worked initially, however the Importer did not import properly; subsequent attempts to auth again then failed afterwards.
from obsidian-importer.
Console log below, it's microsoft returning 429 (too many requests) after 5+ sign-ins. Importer doesn't seem to store and reuse the login token between imports even when pressing the "back" button after an import.
It also seems to occur when importing 50+ pages in one go.
OneNotes api is throttled to 5 concurrent requests per app per user: https://learn.microsoft.com/en-us/graph/throttling-limits#onenote-service-limits
Failed to load resource: the server responded with a status of 429 ()
An error has occurred while fetching an resource:
{
"error": {
"code": "20166",
"message": "The app has issued too many requests on behalf of this user in a short time period.",
"innerError": {
"date": "2024-04-19T14:39:21",
"request-id": "c3bc1789-bd97-485b-8dfe-3bf943047d2e",
"client-request-id": "c3bc1789-bd97-485b-8dfe-3bf943047d2e"
}
}
}
An error occurred while we were trying to sign you in. Error details: TypeError: Cannot read properties of undefined (reading 'value')
at Mr.showSectionPickerUI (plugin:obsidian-importer:214:1374)
at async Mr.authenticateUser (plugin:obsidian-importer:214:716)
from obsidian-importer.
This bug would be that the error isn't properly displayed to the user. The actual solution would be #117
from obsidian-importer.
I'm not even getting one import to work before getting this error. My issue does not to be related to a timeout
from obsidian-importer.
I'm not even getting one import to work before getting this error. My issue does not to be related to a timeout
I have the same output as @fjacquet , but without a glance at it working at all.
so the error
{"An error has occurred while fetching an resource:",{"error":{"code":"10008","message":"One or more of the document libraries on the user or group's OneDrive contains more than 5,000 OneNote items (notebooks, sections, section groups) and cannot be queried using the API. Please make sure that none of the user or group's document libraries contains more than 5,000 OneNote items. Browse to this page for more information: https://blogs.msdn.microsoft.com/onenotedev/2016/09/11/onenote-api-calls-fail-with-a-large-number-of-items-in-a-sharepoint-document-library/","innerError":{"date":"2024-04-26T00:11:47","request-id":"81b24599-d7a6-4ed7-b569-036d3dfb4826","client-request-id":"81b24599-d7a6-4ed7-b569-036d3dfb4826"}}}
to note : " the user or group's OneDrive contains more than 5,000 OneNote items .. cannot be queried ..."
=> https://blogs.msdn.microsoft.com/onenotedev/2016/09/11/onenote-api-calls-fail-with-a-large-number-of-items-in-a-sharepoint-document-library
In essence I agree with @GregHib , pointing out the limitation and a link to the above would be a solution AFAIK.
now I need to find or make something to split my object across multiple users :D
from obsidian-importer.
Same issue on Chrome and MacOS 10.13. I've imported twice successfully and from the third time this error occurred. I've been logged in my OneNote account all time.
from obsidian-importer.
Same issue here when authing through an Opera browser - some data imports, then it consistently fails. Retrying just leaves me with this error and no further hope of importing...
from obsidian-importer.
Importer just updated to 1.6.4 and the same error remains...
from obsidian-importer.
just encountered the same issue. Has anybody found a solution yet?
This was the error message I got:
from obsidian-importer.
I'm experiencing the same problem and can confirm that my console also says it is due to a 429 (Too Many Requests) error.
It occured each time after the import of a rather large notebook that failed halfway through (also because of too many requests). After waiting a day and trying again, the login worked but I got to the same point again after trying to import a larger notebook.
I'm on Windows / Chrome.
Is there a solution or a workaround to this problem? Doesn't seem like there's a whole lot one can do as an end user and it's kinda frustrating.
from obsidian-importer.
Is there a solution or a workaround to this problem? Doesn't seem like there's a whole lot one can do as an end user and it's kinda frustrating.
In my case I split my notebook into smaller sections and imported the sections one at a time, with a break each time I started getting 429 errors.
from obsidian-importer.
@varju Oh alright, tysm for the tip! Have you found out what roughly the maximum amount of pages is that can be handled without throwing an error? And by splitting do you mean just split the selection of the import or literally split the notebook?
from obsidian-importer.
@varju Oh alright, tysm for the tip! Have you found out what roughly the maximum amount of pages is that can be handled without throwing an error? And by splitting do you mean just split the selection of the import or literally split the notebook?
In my case I only had one large notebook with several large sections. I rearranged my sections into chunks of about 50 notes each. I think I was able to import 2 or 3 of these sections before it started rate limiting again. Larger than 50 and the initial section query tended to time out, aborting the import with a different hidden error.
Problems were compounded for me because it turns out many of my notes had never synced to the cloud, causing 404s during import. I had to manually force syncing on each note, likely consuming more of my quota.
from obsidian-importer.
Related Issues (20)
- Convert from downloaded notebook HOT 1
- Import from Mozilla Firefox Extension
- Attachments links when using the Importer for Roam JSON
- [OneNote] Can't select which MS Account to import from HOT 1
- Feature Request: Handle Evernote Internal Links HOT 1
- GoodNotes import request HOT 2
- [Notion] Import of equations with the cases environment do not work
- [OneNote] The path generation rules imported from OneNote to Obsidian caused compatibility issues.
- 登入onenote 点击sign in无反应 HOT 2
- Plans for import from zim-wiki? HOT 1
- Importing from OneNote completely broken HOT 5
- [Evernote] Still fails to set some notes' dates
- [Evernote] Image size not preserved after importing
- Failed to load plugin
- [Notion]: breaks with additional cases inside a math formula
- [Evernote] Improvements suggestions for Importer HOT 3
- Improve Special Character Handling in Obsidian Note Titles
- Add Option to Customize PDF Display Settings During Import
- Enable Longer File Names and Provide Warnings for Automatic Shortening HOT 1
- Add Import Log for Tracking Changes and Issues with Notes
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 obsidian-importer.