The error message (Detected metadata ID that begins with a pound sign (#): '#q2:types'
) seems to indicate that the problem may be with the way your metadata is formatted. Can you share your metadata file with us, @Manuela_Ramalho?
I believe column types arrived in early 2018 - here's the spec, and this topic has a simple example of what metadata should look like.