🐛 Bug Report: 22.1.0 causing errors on nextjs actions.
@ChiragAgg5k is already working on this.
Since Feb 24, 2026.
Assessment
This issue has not been assessed yet.
Description
👟 Reproduction steps
Get the user in a server action
const user = await account.get();
and return the value to the client.
Error: Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported. {} at ignore-listed frames { digest: '2206141838' }
After some investigation that is caused by the new bigint library used in 22.1.0.
user [Object: null prototype] { '$id': '', '$createdAt': '', '$updatedAt': '', name: '' }
the returned object is now a [Object: null prototype].
👍 Expected behavior
Return: {}
👎 Actual Behavior
Return: [Object: null prototype] {}
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
- Dominant language
- TypeScript
- Stars
- 257
- Forks
- 45
- Avg merge
- 11h 59m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from appwrite/sdk-for-node
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 82/100
appwrite/sdk-for-node#132 · 2 comments · 1 reaction ·
-
appwrite/sdk-for-node#136 · 3 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
appwrite/sdk-for-node#133 · 2 comments · 1 reaction ·
All issues in appwrite/sdk-for-node
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·