Gabriel Salazar - Hello, with the new V2, since...

Hello, with the new V2, since it is not in the return node, with the new output node how can I return a 400 error if the API call fails? Thank you very much
1 Reply
Gaurav Chadha
Gaurav Chadha3d ago
Hi @Gabriel Salazar, you can select the Use as Custom Output and add the Status code as output field by clicking configure with type Select and add the required option for status code label and values. - Sample Remix link you can clone: https://app.buildship.com/remix/b71034a7-f9fd-47c1-ad9f-179ee0513f45 Quick docs for new output node (it is same a Return with advanced options): https://docs.buildship.com/getting-started/node#output-node Also, we are working on workflow migration feature which will allow you to migrate your V1 workflows to V2, in which the Return node with status will automatically be updated in the output node. Hope this helps.
No description
No description