Randomly failing request and I am unsure why

Hello! I am currently trying to implement ipfs-core into my application, but I seem to be running into this error every now and then.

generating Ed25519 keypair...
to get started, enter:

        jsipfs cat /ipfs/QmRaaUwTNfwgFZpeUy8qrZwrp2dY4kCKmmB5xEqvH3vtD1/readme

Swarm listening on /ip4/
Swarm listening on /ip4/
Swarm listening on /ip4/
Swarm listening on /ip4/
                throw new Error(`Request failed: ${response.statusCode}`); // eslint-disable-line @typescript-eslint/restrict-template-expressions

Error: Request failed: 500
    at ClientRequest.<anonymous> (file:///D:/rulemaker/v3/xalgo-devrm-v3/node_modules/@achingbrain/nat-port-mapper/dist/src/upnp/fetch.js:43:23)
    at ClientRequest.emit (node:events:527:28)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:631:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
    at Socket.socketOnData (node:_http_client:494:22)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

I would appreciate any guidance if possible, and apologies if this is not the correct place to ask.
The project is under Apache 2.0 with networking components under AfferoGPL 3.0.

Welcome to the forum! Does your node still function when you get that error? Or does it not start up? I wonder if one of the bootstrap nodes simply aren’t available sometimes (which shouldn’t be catastrophic).

Thank you for the kind welcome! I am trying to get it to work using svelte, and because of this error the application ends up shutting down a little while after running. The IPFS node should be created in the store, so I’m thinking it doesn’t start up… But I actually was not aware that it was possible for nodes to not be available.