Cannot convert object to primitive value

Good morning, I have created a workflow that consists of creating a payments intents in Stripe and the return should be a json with several keys and values but when I have the api and I want to run it in production I get this error: "message: "Cannot convert object to primitive value". I don't know what I'm doing wrong, because when I run test it works correctly. Best regards.
2 Replies
BuildShip AI Support
It sounds like the issue might be related to how the JSON object is being constructed or returned. Ensure that all the values in your JSON object are primitive types (e.g., strings, numbers, booleans) and not objects or functions. For further guidance, you can refer to the BuildShip documentation on how to build and ship APIs: BuildShip API Documentation
How to SHIP an API – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
ChristianLuengo
I can't solve it
No description