If you get this error, it may be because you imported `getIronSession` without using it.
There seems to be some magic that validates whether you are using it correctly, even if you’re not using it at all, and using the api withIronSessionApiRoute wrapper.