[GH-ISSUE #779] [BUG]: LanceDBError Append with different schema when embedding #448

Closed
opened 2026-02-22 18:19:31 -05:00 by yindo · 10 comments
Owner

Originally created by @calmtortoise on GitHub (Feb 22, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/779

How are you running AnythingLLM?

Docker (local)

What happened?

When saving/embedding a document to the workspace I get the following error

LanceDBError: Append with different schema.

This only seems to occur with certain documents. I have successfully uploaded and embedded multiple documents and it will embed those into any Workspace but not specific ones. I have tried a variety of different file types.

Are there known steps to reproduce?

  1. Drag and drop a file and wait until uploaded.
  2. Select and add to list of documents to embed.
  3. Click on Save/Embed.
Originally created by @calmtortoise on GitHub (Feb 22, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/779 ### How are you running AnythingLLM? Docker (local) ### What happened? When saving/embedding a document to the workspace I get the following error LanceDBError: Append with different schema. This only seems to occur with certain documents. I have successfully uploaded and embedded multiple documents and it will embed those into any Workspace but not specific ones. I have tried a variety of different file types. ### Are there known steps to reproduce? 1. Drag and drop a file and wait until uploaded. 2. Select and add to list of documents to embed. 3. Click on Save/Embed.
yindo added the possible bug label 2026-02-22 18:19:31 -05:00
yindo closed this issue 2026-02-22 18:19:32 -05:00
Author
Owner

@calmtortoise commented on GitHub (Feb 22, 2024):

Update: I was able to fix the problem by deleting the old workspace and creating a new one. No idea why that worked.

@calmtortoise commented on GitHub (Feb 22, 2024): Update: I was able to fix the problem by deleting the old workspace and creating a new one. No idea why that worked.
Author
Owner

@timothycarambat commented on GitHub (Feb 22, 2024):

When you had this issue, what kind of files did you have embedded into the workspace?

@timothycarambat commented on GitHub (Feb 22, 2024): When you had this issue, what kind of files did you have embedded into the workspace?
Author
Owner

@calmtortoise commented on GitHub (Feb 22, 2024):

Prior to getting the error there were two PDF files embedded.

@calmtortoise commented on GitHub (Feb 22, 2024): Prior to getting the error there were two PDF files embedded.
Author
Owner

@timothycarambat commented on GitHub (Feb 22, 2024):

Hm, currently unable to replicate. The deleting/re-creating is a suitable workaround until we can have a known replication of this elusive bug.

@timothycarambat commented on GitHub (Feb 22, 2024): Hm, currently unable to replicate. The deleting/re-creating is a suitable workaround until we can have a known replication of this elusive bug.
Author
Owner

@novadiem commented on GitHub (Feb 26, 2024):

Failed to add. LanceDBError: Append with different schema

I had embedded a collection of webpages, and 4 pdf files. On trying to embed another 2 pdf files, I got the above error. Removed all html embeds and tried to embed a single new pdf and still get the following:
image

Then removed all docs from workspace and it still wont let me embed anything new... It won't even let me re-add the previously embedded files without given the above error.

Can confirm a new workspace does allow for re-attachment and use of new embeds.. so seems workplace specific.

(side note, would love to have ability to scrape entire site instead of a single url at a time!)

@novadiem commented on GitHub (Feb 26, 2024): Failed to add. LanceDBError: Append with different schema I had embedded a collection of webpages, and 4 pdf files. On trying to embed another 2 pdf files, I got the above error. Removed all html embeds and tried to embed a single new pdf and still get the following: ![image](https://github.com/Mintplex-Labs/anything-llm/assets/124882695/50745caf-6e58-468c-866f-948a05638228) Then removed all docs from workspace and it still wont let me embed anything new... It won't even let me re-add the previously embedded files without given the above error. Can confirm a new workspace does allow for re-attachment and use of new embeds.. so seems workplace specific. (side note, would love to have ability to scrape entire site instead of a single url at a time!)
Author
Owner

@timothycarambat commented on GitHub (Feb 27, 2024):

@novadiem Are you on Docker or Desktop?

@timothycarambat commented on GitHub (Feb 27, 2024): @novadiem Are you on Docker or Desktop?
Author
Owner

@novadiem commented on GitHub (Feb 27, 2024):

Desktop - W11 Pro

@novadiem commented on GitHub (Feb 27, 2024): Desktop - W11 Pro
Author
Owner

@timothycarambat commented on GitHub (Feb 27, 2024):

We have found the issue causing this on the desktop app. It will be patched in the next update which is to be release tomorrow. The error is from the lanceDB provider library and it just needed to be patched to most recent version.

@timothycarambat commented on GitHub (Feb 27, 2024): We have found the issue causing this on the desktop app. It will be patched in the next update which is to be release tomorrow. The error is from the lanceDB provider library and it just needed to be patched to most recent version.
Author
Owner

@timothycarambat commented on GitHub (Feb 27, 2024):

@calmtortoise The issue here says Docker, but this issue should not be on Docker - was your original issue on a Docker instance and not the desktop app?

@timothycarambat commented on GitHub (Feb 27, 2024): @calmtortoise The issue here says Docker, but this issue should not be on Docker - was your original issue on a Docker instance and not the desktop app?
Author
Owner

@timothycarambat commented on GitHub (Feb 28, 2024):

Resolved in latest desktop version (1.2.0). Was bug with LanceDB package

@timothycarambat commented on GitHub (Feb 28, 2024): Resolved in latest desktop version (1.2.0). Was bug with LanceDB package
yindo changed title from [BUG]: LanceDBError Append with different schema when embedding to [GH-ISSUE #779] [BUG]: LanceDBError Append with different schema when embedding 2026-06-05 14:35:21 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#448