ibbyreactI
Convex Community17mo ago
26 replies
ibbyreact

hi tema,

hi tema,

I am using clerk/backend and when i use
const response = await clerkClient.invitations.getInvitationList();
I am getting a convex error in the logs

"[Request ID: 8eeb178508e8f37a] Server Error
Uncaught Error: _Invitation {"id":"inv_2lYsQsr83hXeMCBdPO9uEt5nzgT","emailAddress":"ibrahim.s.amin@gmail.com","publicMetadata":{"type":"client"},"createdAt":1725368330622,"updatedAt":1725368330622,"status":"pending","revoked":"undefined"} is not a supported Convex type (present at path .data[0] in original object {"data":[{"id":"inv_2lYsQsr83hXeMCBdPO9uEt5nzgT","emailAddress":"ibrahim.s.amin@gmail.com","publicMetadata":{"type":"client"},"createdAt":1725368330622,"updatedAt":1725368330622,"status":"pending","revoked":"undefined"},{"id":"inv_2lYnM1xCtU0hagy9Lqw0Gsy5O9w","emailAddress":"ibrahim@marvelhomes.com.au","publicMetadata":{"type":"client"},"createdAt":1725365825401,"updatedAt":1725365883582,"status":"accepted","revoked":"undefined"}],"totalCount":2}). To learn about Convex's supported types, see https://docs.convex.dev/using/types."

yes when i use const response = await clerkClient.users.getUserList(); i dont get any errors.

the functions are working,

any advise would be much appreciated

p.s loving convex and how easy to use

Thanks
Was this page helpful?