Well, I created the folder ''functions'' in ''datapacks'' the same way it was working on 1.12.2 version and the error persist.
[media]//
[media]//
[media]//
[media]//
[media]
So, instead of using the ''data'' folder to create the functions, I must use the ''datapacks'' folder? Thanks.
Ok, I got it already, my functions are working.