These functions are not working anymore (both run in backend):
wix-users-backend.approveByEmail() //Deprecated
wix-members-backend.authentication.approveByEmail() //New one
The deprecated function “wixUsersBackend.approveByEmail()” was working fine since two days ago, but now with no modifications, the promise is always returning false and error object is an empty string array.
The new function “wixMembersBackendAuthentication.approveByEmail()” is returning false too and the error object is the following:
{“details”:{“applicationError”:{“description”:“Forbidden”,“code”:“FORBIDDEN”,“data”:{}}}}
Yest it’s still happening as well as in the approveByToken functions, I submited a ticked 5 days ago, but I didn’t get a response from customer care yet…
Customer care just responded right now, told me that it should be fixed, I tested both functions (deprecated and new one) but it’s still throwing the same error.
I guess they’re working on that
We have had this problem for two weeks and customer care has not said anything else, except that it is fixed when it was not fixed… this bug is quite annoying because our customers can not register, we have to approve them through the wix interface and manually perform all the series of automations that are executed afterwards.
I do not, I am sorry. Unfortunately it must be resolved through customer care. I do realize problems like this take longer to resolve sometimes, but I would stay in the conversation wiht them. There is no customer support in this forum as it’s primary use is a space for community to help each other with code. I am sorry I do not have any more information currently.
Just to add to this, we’re getting the same error on approveByToken(). We’ve raised with Wix and it’s been passed to the development team, waiting to hear back.
I heard back from support today:
“Our devs are aware of this and currently investigating.
We should have a fix for it sometime this week. We will reach out to you again when we have an update.”
I will post here again if/when I hear the problem is fixed.