-
-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another 400 error #10
Comments
Hi @Fusion Thanks for the detailed report. The The next issue is being worked on here #12 It's partially fixed, and the I'm glad you added the details about the request. Particularly the Let me know if you continue having issues after the latest patch (1.0.30). Thanks again for the report, |
Unfortunately, even after performing a force reload, I am still seeing the issue. Please note that, below, the "enormous" content, encoded, is 33716 characters long. Error:
Response:
Request:
|
@Fusion Thanks for the update! That size, 33716 characters long, is undoubtedly problematic. I recently put in some limits that should have prevented that long of an input. I also tested on a 90K character length note and couldn't reproduce this. Can you confirm which version you're using? |
I tried with version 1.0.38.
Now at work, I tried on my other MacBook (sync’d up) and after updating to 1.0.41, I got this error instead:
```
embeddings_file()
plugin:smart-connections:1082 failed to load embeddings file, prompting user to bulk embed
plugin:smart-connections:1084 Uncaught (in promise) Error: Error: Prompting user to create a new embeddings file or retry.
at SmartConnectionsView.load_embeddings_file (plugin:smart-connections:1084:15)
at async SmartConnectionsView.load_embeddings_file (plugin:smart-connections:1080:9)
at async SmartConnectionsView.load_embeddings_file (plugin:smart-connections:1080:9)
at async SmartConnectionsView.load_embeddings_file (plugin:smart-connections:1080:9)
at async SmartConnectionsView.render_note_connections (plugin:smart-connections:1014:7)
```
…--
On Thursday, Jan 12, 2023 at 8:04 AM, Brian Petro ***@***.*** ***@***.***)> wrote:
@Fusion (https://github.com/Fusion) Thanks for the update!
That size, 33716 characters long, is undoubtedly problematic.
I recently put in some limits that should have prevented that long of an input. I also tested on a 90K character length note and couldn't reproduce this.
Can you confirm which version you're using?
—
Reply to this email directly, view it on GitHub (#10 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AAAHAG3PRIJS52ODEAY4ITTWSATP7ANCNFSM6AAAAAATUMLAEU).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
That is the error that's intentionally thrown when the When that happens, you should see a button to "Create embeddings.json" in the right-hand sidebar. There is also a retry button in cases where the embeddings.json file should already exist. |
Yes I was thinking along these lines. I don’t think that Obisidian sync synced’s up the json file by default (I think it’s an additional setting)
I got the error message but not the dialog. Could be nothing, sorry for the added noise.
…--
On Thursday, Jan 12, 2023 at 9:41 AM, Brian Petro ***@***.*** ***@***.***)> wrote:
That is the error that's intentionally thrown when the embeddings.json file is missing. It's intentional to halt processes that might otherwise overwrite data.
When that happens, you should see a button to "Create embeddings.json" in the right-hand sidebar. There is also a retry button in cases where the embeddings.json file should already exist.
—
Reply to this email directly, view it on GitHub (#10 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AAAHAGYJ4AKQJUW7EHT3LODWSA625ANCNFSM6AAAAAATUMLAEU).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Not a problem at all. It helps me solve this for others who might otherwise move on without reporting the issue. If the view with the dialog options isn't visible, you can try the Thanks for your help! |
@Fusion were you able to make it work? |
@Fusion with that many 429 retries, I think it's worth double checking your API key is working, as we discovered in this issue #13 (comment) |
@Fusion latest version backs off the API exponentially to prevent further 429s and implements skipping of previously failed files. These files can be manually retried from the settings but should allow the plugin to work with partial vault embeddings. |
I am getting a 429 error
Can't seem to find a way around it EDIT: Solved by upgrading to pay-as-you-go account, might be worth specifying in the doc for future users! |
@vguillet check out #24 (comment) and let me know if you think it's the issue (free plan rate limits). If so, I have an update in the works that should alleviate some/all of the problem. |
Hi,
what I am seeing is 24 x "skipping block (mtime)"
followed by:
Adding a breakpoint in the catch block, this is the response:
Request:
The text was updated successfully, but these errors were encountered: