DaRealPheyeeD
Convex Community2y ago
12 replies
DaRealPheyee

Help with 3rd party api call in Actions

So i am trying to reach clerk's backend api in a convex action. The action needs a node package so i am using the "use node" at the top of the document where i am defining the action.

So the issue now is, the call works just fine but when i return the result of the call, Convex throws an error. However, when i console log the result of the call, it returns the data just as expected.

The error i am getting is as follows:
Was this page helpful?