I am trying to create a contact record using the users register() method.
I am providing all valid parameters but get the following error back. Hopefully the following stack trace helps. I wonder if it is something to do with the createContact 500 error?
Error: server responded with 500 - {“message”:“Internal Server Error”} at Object. (wix-users-backend/src/users.ts:68:11) at Generator.throw () at rejected (wix-users-backend/dist/src/users.js:5:65) at bound (domain.js:301:14) at runBound (domain.js:314:12) at tryCatcher (node_modules/bluebird/js/main/util.js:26:23) at Promise._settlePromiseFromHandler (node_modules/bluebird/js/main/promise.js:510:31) at Promise._settlePromiseAt (node_modules/bluebird/js/main/promise.js:584:18) at Async._drainQueue (node_modules/bluebird/js/main/async.js:128:12) at Async._drainQueues (node_modules/bluebird/js/main/async.js:133:10) at Immediate.Async.drainQueues (node_modules/bluebird/js/main/async.js:15:14) at runCallback (timers.js:789:20) at tryOnImmediate (timers.js:751:5) at processImmediate [as _immediateCallback] (timers.js:722:5)
Hi Alon,
I am working on https://www.livedawn.be and I could not implement a plain vanilla call to wix-users-backend.register. I had to use the front end version that works fine but does not provide me with the level of security that I wish.
Unfortunately working my way around the issue I clobbered the malfunctioning code… arghhhh. I am not sure I can reproduce the problem.
I am having the same problem. If you go to https://www.fosteringsuccesscoaching.com and click Sign In and then click Create Account on Sign In lightbox. When you try to create an account and click Submit, you can see the 500 internal server error.
Thanks Warner. In Wix though the server error can be triggered by an API failure due to the use of web workers and front end backend code interaction.
Having said this the post is a little obsolete and should be considered deprecated since the wix-users API has undergone many changes and fixes since it was made.
Hi I’m having this problem right now. I don’t think the post is obsolete. I noticed that the user is indeed registered as expected. The issue then is that I can’t do something interesting in the then() of the register()…