ChxisBC
ZITADELβ€’2mo agoβ€’
32 replies
ChxisB

Membership not found - /v2/sessions

🏬Self-hosted❓Questionβœ…Solved
Hey all - I'm trying to use the /v2/sessions endpoint.

However I keep getting the following error:

{
    "code": 5,
    "message": "membership not found (AUTHZ-cdgFk)",
    "details": [
        {
            "@type": "type.googleapis.com/zitadel.v1.ErrorDetail",
            "id": "AUTHZ-cdgFk",
            "message": "membership not found"
        }
    ]
}


I'm passing:

POST 'http://localhost:8080/v2/sessions' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer bdT3Z2JNgXrfEvnKe4WjClWPdl8C7D6HXyEgfxJFNRfsWvoJ9ymfzOG7G0ByydM_qyzUWI8' \
  --body '{
    "checks": {
        "user": {
            "userId": "356440509494853635",
            "password": "Password123!"
        }
    }
}'


Any advice would greatly be appreciated.

Thank you!
Was this page helpful?