Hi Irene,
You can try the following scrip tool to see if this works:
https://community.esri.com/docs/DOC-9914
If it also fails, then it is most likely something wrong with the geodatabase. If it succeeds, then it could be a syntax/script error.