From 9789112fda868654289c8eb71d29d0e625851bf0 Mon Sep 17 00:00:00 2001 From: Colin Griffin Date: Fri, 14 Jan 2022 16:13:19 -0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5940e87..8a5e42c 100644 --- a/README.md +++ b/README.md @@ -85,4 +85,4 @@ For more advanced usage, please refer to the git documentation: [https://git-scm ## Troubleshooting * SSL edge termination: If running behind a load balancer which handles SSL certificates, you will need to add the environmental variable `NODE_TLS_REJECT_UNAUTHORIZED=0` to prevent requests from being rejected. Only do this if you know what you are doing and trust the services/load-balancers directing traffic to your service. -* If you had and issue creating user please check if the metadata field is null change it to empty json ({}) and you will be fine. +* Failed to commit changes: Invalid 'prisma.user.create()': Certain versions may have trouble creating a user if the field `metadata` is empty. Using an empty json object `{}` as the field value should resolve this issue. Also, the `id` field will autoincrement, so you may also try leaving the value of `id` as empty.