Node Red issue with activation code

installed Node red and created long live activation code in HA passed into box update. everything seemed fine as i could access the entities. However when creating a flow i keep on getting debug error message.

msg : string[27]
Supervisor token not found.
31/01/2022, 17:33:07node: Home Assistant
msg : string[46]
Invalid access token or password for websocket"'

I am running HA and NR in separate containers.
i have been trying to solve this issue for sometime with out success. It seems as thought NR is talking HA as it is populating the entities.

Any advice would be appreciated.

I was having the same problem. My solution was to untick the I use the Home Assistant Add-on in nodeRED’s Home Assistant configuration, generate an API key in the Home Assistant (it’s in your profile at the very bottom - Long-Lived Access Tokens) and pass it to Access Token field along with the HASS server ip and port to the Home Assistant config in nodeRED