wix-groups-backend Group Object Missing coverImage

Hi all,

I am trying to access a groups cover image using the wix-groups-backend library. I have used the following code:

import wixGroupsBackend from ‘wix-groups-backend’ ;

export async function func ( ){
let promiseResolve = await wixGroupsBackend . groups . listGroups ();
let someGroup = promiseResolve . groups [ 0 ];
console . log ( someGroup . coverImage.imageUrl );
}

This code should output some URL referencing the URL of the image, but the coverImage object is null. (I have checked, and the group’s coverImage is not null in the dashboard).

Any solutions? I am almost certain this is a bug.

1 Like

I have the same problem.

Contact Wix support to open a ticket. In the mean time, check if other fields include the same info you wanted :slight_smile: