@id and @hasinverse on specific type

Hello, thanks for your answer, when I use your request :

I get the following error :

"message": ": Repeated subgraph: [Account.sessions] while using expand()",