-
Hi there, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @mrsibs in general you can create a custom schema at the schema panel and then use your custom schema as error response at this operation, then you also need to adjust your action so that it returns the described format. |
Beta Was this translation helpful? Give feedback.
-
hi there, { and i have set at operation like this: THROW : NOT FOUND, SCHEMA : THROWERRORSCHEMA In Action, im using SQL-UPDATE, how i want to adjust my action to return as prescribed format? Thanks for the quick responses. |
Beta Was this translation helpful? Give feedback.
-
ok, now I understand the problem, the schema only describes the response data of the action, the SQL-Update action will always return a If you want to change the response you need to build a custom action, which returns this custom response. |
Beta Was this translation helpful? Give feedback.
Sure, here is an example action to simply update a row from a table, I have also added this example to the markplace s.