8000 "Empty text nodes are not allowed" error when importing from Notion. · Issue #9181 · outline/outline · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

"Empty text nodes are not allowed" error when importing from Notion. #9181

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

Open
2 tasks done
shadohash opened this issue May 12, 2025 · 8 comments
Open
2 tasks done
Assignees

Comments

@shadohash
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

This is not related to configuring Outline

  • The issue is not related to self-hosting config

Current Behavior

I originally reported this issue a few weeks ago, and while a new update has since been released, the problem unfortunately still occurs. I’ll try to provide as much detail as possible to help you reproduce and investigate the issue, although I’m unable to share a sample Notion document for privacy reasons.

Context:

1. Access Setup:

  • I was added as a guest to someone else’s Notion workspace.
  • Within that workspace, I was granted access to several collections (Notion pages or databases).

2. Duplication Process:

  • I duplicated all accessible collections from that shared workspace into my own Notion workspace (which I own).
  • Note: the duplicated documents retain links to other documents in the original workspace, including some that I do not have access to.

3. Importing to Outline:

  • When I attempt to import these duplicated collections from my own workspace into Outline, the process fails and returns the error:
    "Failed • Empty text nodes are not allowed. Check server logs for more details. • You requested 30 mins ago • Notion"

Expected Behavior

No response

Steps To Reproduce

  1. Create or use a shared Notion workspace.
  2. Add a guest user and grant access to several collections.
  3. In one or more of those collections, include links to other internal documents not accessible to the guest.
  4. Have the guest user duplicate those collections into their own workspace.
  5. Attempt to import the duplicated content into Outline.

Environment

- Outline:0.84.0
- Browser: Firefox 128.10.0esr

Anything else?

Observations & Hypothesis:

  • Some documents in my duplicated workspace contain links to documents that are outside my workspace and to which I have no access.
  • I suspect the issue might arise when the importer tries to parse or follow those links during the import.
  • Since Outline likely only has permission to access documents within my own workspace, any reference to external/unavailable documents might be triggering the error.
  • It's possible that these external links are being parsed into an empty or invalid text node, hence the error.

That's just a guess.

@shadohash shadohash added the bug label May 12, 2025
Copy link
linear bot commented May 12, 2025

@MehdiBouzouaya
Copy link
Contributor

I tried the same import process but exported from Notion as Markdown first. The upload failed with this error:
" Uploaded file does not contain any valid collections. It may be corrupt, the wrong type, or version.. "

Image

@tommoor
Copy link
Member
tommoor commented May 12, 2025

This is expected, the markdown import expects a specific folder layout that's produced by the markdown export

@tommoor
Copy link
Member
tommoor commented May 12, 2025

@shadohash probably going to need to send you some sort of debugging build to figure out what's going on here.

@tommoor
Copy link
Member
tommoor commented May 13, 2025

@hmacr could you take a look?

@hmacr hmacr self-assigned this May 13, 2025
@hmacr
Copy link
Collaborator
hmacr commented May 16, 2025

I tried the reproduction steps, no luck so far.

@hmacr
Copy link
Collaborator
hmacr commented May 16, 2025

@shadohash Any of those docs have an empty bookmark like the one below?

Image

@shadohash
Copy link
Author

I've parsed everything and none of the documents seems to have an empty bookmark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
0