Sometimes 999999 errors are quite mysterious. However, I have found they often have to do with the output paths or field names being invalid for the output workspace. For example, if you chose dbf output (folder workspace) instead of geodatabase, the field names (which are based on your input) may have not been valid for dbf. (Geodatabase tables allow longer field names and more 'unusual' table and field names.)
that works, thank you!