I have enabled os-login for an instance by setting the metadata value as 'enable-oslogin=TRUE'. Even after setting the IAM roles as Organization admin and Owner of the project the issue persists as shown in the link GCP ssh error.
Please guide me to solve the issue.
Note: I have set all the necessary os-login roles as per the documentation
Roles I have set for the user: roles/iam.serviceAccountUser, roles/compute.osAdminLogin