#LiveDocs - Liveblocks error

4 messages · Page 1 of 1 (latest)

rose thicket
#

So I am following the LiveDocs tutorial and am receiving the error pictured.

I definitely have the key correct in .env.local
LIVEBLOCKS_SECRET_KEY=sk_dev_ rest of the key

If I put the key in as text in liveblocks.ts, it works fine. Any ideas?

gentle pebble
#

Check the user.actions.ts or room.actions.ts files to see if you have added "use server" on the first line?

rose thicket
#

Thanks, figured out earlier I had used ` instead of " 🤦‍♂️

violet bear
#

Facing same issue..