# \#wix-members-backend

**URL:** https://forum.wixstudio.com/tag/wix-members-backend/104.md

[Latest](https://forum.wixstudio.com/latest.md) · [Categories](https://forum.wixstudio.com/categories.md) · [Tags](https://forum.wixstudio.com/tags.md)

---

## [Wix Group Member list can't fetch](https://forum.wixstudio.com/t/wix-group-member-list-cant-fetch/77029)

<div class="topic-metadata">

**Author:** [@Aquarius\_Mike](https://forum.wixstudio.com/u/Aquarius_Mike)\
**Replies:** 0\
**Last updated:** [March 12, 2026, 12:59pm UTC](https://forum.wixstudio.com/t/wix-group-member-list-cant-fetch/77029 "2026-03-12T12:59:36Z")

</div>

import { Permissions, webMethod } from "wix-web-module"; import { comments } from "wix-comments.v2"; import { elevate } …

---

## [Login not working](https://forum.wixstudio.com/t/login-not-working/76686)

<div class="topic-metadata">

**Author:** [@husdadymena](https://forum.wixstudio.com/u/husdadymena)\
**Replies:** 2\
**Last updated:** [February 20, 2026, 4:47pm UTC](https://forum.wixstudio.com/t/login-not-working/76686 "2026-02-20T16:47:06Z")

</div>

Currently there are 3 sites, one for each environment: dev, uat, and prod. In the past few weeks, nothing has changed wi…

---

## [currentMember.getRoles() in «wix-members-backend» throw error](https://forum.wixstudio.com/t/currentmember-getroles-in-wix-members-backend-throw-error/76395)

<div class="topic-metadata">

**Author:** [@wix5724](https://forum.wixstudio.com/u/wix5724)\
**Replies:** 1\
**Last updated:** [February 6, 2026, 4:30pm UTC](https://forum.wixstudio.com/t/currentmember-getroles-in-wix-members-backend-throw-error/76395 "2026-02-06T16:30:28Z")

</div>

I’m having trouble with currentMemner.getRoles() in «wix-members-backend» in a funktion in a «person.web.js» backend mo…

---

## [Suddenly cannot import Back End Modules after Years of being able to](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616)

<div class="topic-metadata">

**Author:** [@user58](https://forum.wixstudio.com/u/user58)\
**Replies:** 6\
**Last updated:** [June 19, 2025, 5:05pm UTC](https://forum.wixstudio.com/t/suddenly-cannot-import-back-end-modules-after-years-of-being-able-to/71616 "2025-06-19T17:05:46Z")

</div>

Suddenly I cannot import Back End Modules after Years of being able to ?! I suspect a problem on Wix side not my code a…

---

## [I want to change the default "no picture" avatar in Wix Members](https://forum.wixstudio.com/t/i-want-to-change-the-default-no-picture-avatar-in-wix-members/70769)

<div class="topic-metadata">

**Author:** [@Joe\_Beaupre](https://forum.wixstudio.com/u/Joe_Beaupre)\
**Replies:** 1\
**Last updated:** [May 5, 2025, 10:09pm UTC](https://forum.wixstudio.com/t/i-want-to-change-the-default-no-picture-avatar-in-wix-members/70769 "2025-05-05T22:09:36Z")

</div>

Hi i would like to change de no avatar profile but the image doesnt exist.. I even tried to do a backend but PrivateMe…

---

## [Backend function calling permission error even if the user is logged in](https://forum.wixstudio.com/t/backend-function-calling-permission-error-even-if-the-user-is-logged-in/69723)

<div class="topic-metadata">

**Author:** [@mauriziomassaro](https://forum.wixstudio.com/u/mauriziomassaro)\
**Replies:** 1\
**Last updated:** [March 20, 2025, 3:53pm UTC](https://forum.wixstudio.com/t/backend-function-calling-permission-error-even-if-the-user-is-logged-in/69723 "2025-03-20T15:53:19Z")

</div>

I am having some problems with the login procedure of my website. I do a standard login and I import a backend function …

---

## [Identity email Already exists even when email isn't in the member table](https://forum.wixstudio.com/t/identity-email-already-exists-even-when-email-isnt-in-the-member-table/67347)

<div class="topic-metadata">

**Author:** [@MarryMeWise](https://forum.wixstudio.com/u/MarryMeWise)\
**Replies:** 0\
**Last updated:** [January 12, 2025, 1:33am UTC](https://forum.wixstudio.com/t/identity-email-already-exists-even-when-email-isnt-in-the-member-table/67347 "2025-01-12T01:33:02Z")

</div>

Question: When registering a new member with an email that doesn’t exist in the member table, it is shows “A member wit…

---

## [onMemberUpdated event executing multiple times and not including customFields](https://forum.wixstudio.com/t/onmemberupdated-event-executing-multiple-times-and-not-including-customfields/56074)

<div class="topic-metadata">

**Author:** [@allentrev88](https://forum.wixstudio.com/u/allentrev88)\
**Replies:** 2\
**Last updated:** [December 17, 2024, 7:03pm UTC](https://forum.wixstudio.com/t/onmemberupdated-event-executing-multiple-times-and-not-including-customfields/56074 "2024-12-17T19:03:07Z")

</div>

Ive just tried the event by adding: export function wixMembers\_onMemberUpdated(event) { console.log(“Backend/events.js onMemberUpdated event”); console.log(event);} so I could see what’s inside the event. By altering a custom field in the Edit Profile on the live site, the above code was triggered 7 times, and each event didnt have the custom fields set. Are these both issues with the API call?

---

## [Help with Members function permissions](https://forum.wixstudio.com/t/help-with-members-function-permissions/62888)

<div class="topic-metadata">

**Author:** [@smolkinag](https://forum.wixstudio.com/u/smolkinag)\
**Replies:** 2\
**Last updated:** [September 20, 2024, 1:30pm UTC](https://forum.wixstudio.com/t/help-with-members-function-permissions/62888 "2024-09-20T13:30:42Z")

</div>

Question: How do I set permissions for a backend function driving a progress bar using a members count? Product: Stud…

---

## [How to prompt login from backend (beforeRouter)](https://forum.wixstudio.com/t/how-to-prompt-login-from-backend-beforerouter/61226)

<div class="topic-metadata">

**Author:** [@Omer\_Kawaz](https://forum.wixstudio.com/u/Omer_Kawaz)\
**Replies:** 0\
**Last updated:** [July 28, 2024, 9:19pm UTC](https://forum.wixstudio.com/t/how-to-prompt-login-from-backend-beforerouter/61226 "2024-07-28T21:19:52Z")

</div>

I’m working on a dynamic page which needs to be allowed only for specific users who bought access to it on Wix Studio i selected the page as members only and I’m filtering out the non-paying customers in the beforeRouter call, however the ‘member page’ login check happens only after the beforeRouter call, and i don’t know what to do with non-logged users. I can, of course, send them to a forbidden() page however I’d like them to be sent to a login screen, for a better flow. i only found a frontend module which does that (“wix-frontend-members” authentication.promptLogin) but it can’t be called in backend code what’s the best way to achieve this behavior? thanks in advance, Omer

---

## [Synchronization issue with member creation using register()](https://forum.wixstudio.com/t/synchronization-issue-with-member-creation-using-register/59076)

<div class="topic-metadata">

**Author:** [@Philipp\_Droste](https://forum.wixstudio.com/u/Philipp_Droste)\
**Replies:** 9\
**Last updated:** [May 13, 2024, 2:34pm UTC](https://forum.wixstudio.com/t/synchronization-issue-with-member-creation-using-register/59076 "2024-05-13T14:34:58Z")

</div>

Question: I’m getting the following error around 50% of the time when trying to call the updateMember() Velo function after awaiting for register() to complete: } "jsonPayload":{ "message":"\["message: 'Entity not found: Not Found'\\ndetails:\\n applicationError:\\n description: Not Found\\n code: NOT\_FOUND\\n data:\\n notFound:\\n entityId: 0af3ba36-886a-4eca-9599-2b1ce0d95474"\]" } "receiveTimestamp":"2024-05-08T21:03:39.411Z" } I’m guessing this is due to a synchronization issue where the newly created member is not persisted to a database yet, even after register() has successfully returned the Id. I would like some advice on how to proceed. Product: I’m using Wix Editor with Velo APIs What are you trying to achieve: I’m trying to automate account creation for my site. I’ve created an endpoint on my site that does this by calling the register() and updateMember() Velo functions of wix-members-backend. What have you already tried: I’ve tried adding a delay of 1 second between the c…

---

## [My "wix-members-backend" module is empty](https://forum.wixstudio.com/t/my-wix-members-backend-module-is-empty/59067)

<div class="topic-metadata">

**Author:** [@kricke73](https://forum.wixstudio.com/u/kricke73)\
**Replies:** 4\
**Last updated:** [May 11, 2024, 10:28am UTC](https://forum.wixstudio.com/t/my-wix-members-backend-module-is-empty/59067 "2024-05-11T10:28:50Z")

</div>

Question: What code shall i put into the wix-members-backend.js file because now it´s empty and with that I get a “Cannot find wix-members-backend module” error. Product: Wix Editor What are you trying to achieve: I want to use the member backend for different functions but it doesn´t work without code in the wix-members-backend js-file. What have you already tried: I have Googled a lot to find the code for wix-members-backend but with no result.

---

## [Duplicate emails when searching Contacts](https://forum.wixstudio.com/t/duplicate-emails-when-searching-contacts/57980)

<div class="topic-metadata">

**Author:** [@CCorres](https://forum.wixstudio.com/u/CCorres)\
**Replies:** 2\
**Last updated:** [April 12, 2024, 11:54am UTC](https://forum.wixstudio.com/t/duplicate-emails-when-searching-contacts/57980 "2024-04-12T11:54:38Z")

</div>

Found a problem with this code, which finds a contact’s unique ID based on an email. It works fine until two or more contacts share the same email on file, which I believe is permitted in the case of contacts but not site members. So I either need to find a way to sort which is the correct user in the case of a duplicate email, or query a different email field altogether. But where is the data for “info.emails.email” stored? CMS/Full Data only shows the login emails of site members; is there a separate CMS collection for contacts? I also looked in the Contacts section of Dashboard but the two contacts that show up as duplicates in the email query appear there with separate emails. I couldn’t see any hidden email fields or fields for a contact’s alternate/secondary email. In fact, no sign of any duplicate email until I run the code. const queryResults = await contacts.queryContacts() .eq('info.emails.email', emailToFind) .find ({suppressAuth: true}); const contactsWithEmai…

---

## [Cannot access backend members data on accounts AFTER July 28](https://forum.wixstudio.com/t/cannot-access-backend-members-data-on-accounts-after-july-28/51932)

<div class="topic-metadata">

**Author:** [@JessCK](https://forum.wixstudio.com/u/JessCK)\
**Replies:** 5\
**Last updated:** [August 29, 2023, 12:50am UTC](https://forum.wixstudio.com/t/cannot-access-backend-members-data-on-accounts-after-july-28/51932 "2023-08-29T00:50:03Z")

</div>

Hi wonderful Wix/EditorX/WixStudio developers! I’ve been beating my head against the wall trying to figure out why ALL of my member accounts after 7/28/23 have been having issue adding content to my site, and I’ve reali…
