pymysql.err.InternalError: (1054, "Unknown column '[field_name]' in 'field list'")

I have created a custom doctype with child table .
In custom script i added code for
1.updating a parent field based on some other parent field using frm.set_value()
2.Adding Child table rows

While saving form pymysql.err.InternalError: (1054, “Unknown column ‘[field_name]’ in ‘field list’”) error occurs

1 Like

dear Navya_shree,

could you give code for

The problem is solved, there was an error in adding child table row code.

Thank you

could you please more information
facing the same issue
thank you for response quicly