How can I fix this error and upload files?
I figure out what the problem was. I'm posting the solution for my case just in case someone has the same problem.
My problem was that I had change the submit button ID in the input.html.twig file. I replaced it to the original and it works fine.