Figma file, granting the CAN EDIT access problem

Hello, I am currently having a big problem with granting the can edit status to other users in my figma file.

So the file itself is located in a Figma team. It is not a draft anymore. The problem is that whenever I try to give users who have opened the file the CAN EDIT access, I get an error message telling me that I first need to add the file into a team (which it already is in).

The only workaround I have found so far is to create another team, move the file there and after that I can give the user edit access. Sadly, this works only for that one user and not others so for every user who access status I want to change I have to create a new team.

Anyone know about any solution?
Thx in advance