# Library import not working

**URL:** <https://community.silverbullet.md/t/library-import-not-working/497>\
**Category:** v1: Troubleshooting (legacy)\
**Created:** [June 5, 2024, 11:00am UTC](https://community.silverbullet.md/t/library-import-not-working/497 "2024-06-05T11:00:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tagirijus](https://community.silverbullet.md/user_avatar/community.silverbullet.md/tagirijus/32/1515_2.png) [@tagirijus](https://community.silverbullet.md/u/tagirijus)\
**Post date:** [June 5, 2024, 11:00am UTC](https://community.silverbullet.md/t/library-import-not-working/497/1 "2024-06-05T11:00:48Z")

</div>

Hey there,

I am having some trouble importing library stuff or federating with Silverbullet. I followed the instructions for both and tried both separately, yet either found 0 templates, or I found some templates, yet nothing got imported. I think once I was able to _federate_, but then things like `/code` did nothing (well, it deleted “/code” but no code block was created).

Also I found out that the Silverbullet instance has to be in online mode so that I can at least find the library (e.g. `!silverbullet.md/Library/Core/`).

Unfortunately the logs on the server have no error messages, yet the browser console does.

I entered `!silverbullet.md/Library/Core/` into the `Library: Import` command box and got this in my browser console:

```auto
Fetching listing from federated !silverbullet.md/Library/Core/ federation.plug.js:1:8565
Failed to process https://silverbullet.md/index.json TypeError: NetworkError when attempting to fetch resource. federation.plug.js:1:9112
    S https://MY.DOMAIN.DE/_plug/federation.plug.js:1
    I https://MY.DOMAIN.DE/_plug/federation.plug.js:1
    E https://MY.DOMAIN.DE/_plug/federation.plug.js:1
    E https://MY.DOMAIN.DE/_plug/federation.plug.js:1
    (Async: EventListener.handleEvent)
    E https://MY.DOMAIN.DE/_plug/federation.plug.js:1
    <anonym> https://MY.DOMAIN.DE/_plug/federation.plug.js:1
Using cached listing

```

And the box told me _“You are about to import 31 templates, want to do this?”_. When I press _Ok_, I additionally get this in the browser console:

```auto
Fetching federated file https://silverbullet.md/Library/Core/Widget/Table of Contents.md federation.plug.js:1:9245
An exception was thrown as a result of invoking function importLibraryCommand error: NetworkError when attempting to fetch resource. federation.plug.js:1:694
    E https://MY.DOMAIN.DE/_plug/federation.plug.js:1
    E https://MY.DOMAIN.DE/_plug/federation.plug.js:1
    (Async: EventListener.handleEvent)
    E https://MY.DOMAIN.DE/_plug/federation.plug.js:1
    <anonym> https://MY.DOMAIN.DE/_plug/federation.plug.js:1
Error running command NetworkError when attempting to fetch resource. editor_ui.tsx:132:28
    onTrigger editor_ui.tsx:132
    (Async: promise callback)
    onTrigger editor_ui.tsx:131
    onSelect command_palette.tsx:69
    onEnter filter.tsx:120
    S mini_editor.tsx:242
    run mini_editor.tsx:170
    p view.mjs:4
    Ib view.mjs:4
    keydown view.mjs:4
    Gy view.mjs:3
    runHandlers view.mjs:3
    handleEvent view.mjs:3
    (Async: EventListener.handleEvent)
    ensureHandlers view.mjs:3
    h6 view.mjs:4
    kc mini_editor.tsx:70
    Preact 25
    openCommandPalette editor.ts:270
    syscall system.ts:134
    syscall plug.ts:46
    onMessage worker_sandbox.ts:72
    onmessage worker_sandbox.ts:59
    (Async: EventHandlerNonNull)
    init worker_sandbox.ts:45
    init worker_sandbox.ts:44
    invoke worker_sandbox.ts:107
    invoke plug.ts:108
    dispatchEvent event.ts:67
    dispatchEvent event.ts:77
    dispatchAppEvent client.ts:663
    init client.ts:225
    <anonym> boot.ts:23
    qr async.ts:98
    <anonym> boot.ts:7
    <anonym> boot.ts:51

```

Can somebody help me back trace, if this is an issue on my end? Is there anything else I can try? Besides this importing thing, I was able to use Silverbullet from different devices already quite well, though!

Please tell me, if you need more information and thanks for any kind of help! (=

---

<div class="post-metadata">

**Author:** ![terr-steak](https://community.silverbullet.md/user_avatar/community.silverbullet.md/terr-steak/32/192_2.png) [@terr-steak](https://community.silverbullet.md/u/terr-steak)\
**Post date:** [June 7, 2024, 12:44pm UTC](https://community.silverbullet.md/t/library-import-not-working/497/2 "2024-06-07T12:44:43Z")

</div>

Can you navigate to any of the pages, lets say ‘Quick Note’ using the page picker? Did you try a `System: Reload` command to see if the pages are there and just need to be loaded? I guess I am just wondering if the import worked and you just need to do a “Reload”.

---

<div class="post-metadata">

**Author:** ![tagirijus](https://community.silverbullet.md/user_avatar/community.silverbullet.md/tagirijus/32/1515_2.png) [@tagirijus](https://community.silverbullet.md/u/tagirijus)\
**Post date:** [June 7, 2024, 12:57pm UTC](https://community.silverbullet.md/t/library-import-not-working/497/3 "2024-06-07T12:57:04Z")

</div>

Hey, thanks for your reply. No, `System: Reload` did not work. Also I was not even able to see any new files in the space / folders. Not in Silverbullet and also not in the Terminal when navigating there “by hand”.
