Hi Stef and Tom,
I am having the same problem and I tried your approach but am still getting the same error. I created a sub-package named testodata and I have the files created there as you suggested. I was able to grant the role eventually as shown in the attached screenshot. But the error still shows in the second screenshot. Any idea?