createReport throws Error 500

We’re trying to implement the createReport query for channel members like so:

const query = createQuery(createReport, 'user', userId);
runQuery(query, result => console.log(result));

The query returns an error 500.

Is there something I can do to fix it ?

Hello @jsharl sorry for late response, we can replicate this error and will do further investigation on this. We will keep you posted on the progress, thank you :pray:

1 Like

Hi @jsharl after further checking, this is not a bug but a limitation. Currently, the ability to report users is not supported by ts sdk yet, we will update and remove this function from our docs. Apologies for the misleading :pray: