dannyeloD
Convex Community17mo ago
4 replies
dannyelo

Access the action error message when fail

Hello,
When I call an action that make a mutation to an external API, and the request fails, I get a Convex Error string, but I need to access the API response error message.

[CONVEX A(organizations_node:updateFacturapiCertificatesAction)] [Request ID: 14d31c10a571998b] Server Error Uncaught Error: El certificado no es un CSD. Asegúrate de no estar enviando una FIEL. at async handler (../convex/organizations_node.ts:230:6) Called by client


How can I access only the error string? In this case:
El certificado no es un CSD. Asegúrate de no estar enviando una FIEL.
Was this page helpful?