Problem using AuthorizationService API - {"code":5,"message":"Not Found"}
I am trying to use the Authorization Service API but can't get it to work.
For Authorization i am using a service User PAT. The service user has "Org User Manager" and many more memberships.
Endpoints like zitadel.cloud/v2/users/ work and return the expected data.
For /zitadel.authorization.v2beta.AuthorizationService/CreateAuthorization i only ever get '{"code":5,"message":"Not Found"}'.
Does anybody have a working Example? Is there anything to enable the beta API?
Greetings!
Malte
12 Replies
Hey @malte are you on cloud or self hosted?.
Hey @Rajat Singh , I am Cloud Hostet, currently Free Tier.
hey @malte the API actually works but only on v4+ right now, I just ran it on my self hosted docker image and it worked, you didn't do anything wrong.

so you can still use the https://zitadel.com/docs/apis/resources/mgmt/management-service-add-user-grant
this one works for cloud

@Rajat Singh Thank you! The older api works fine for what I want to achieve 🙂
Is there like a version where v1 and V2 aren't available? I keep trying to user either endpoints and both return "Not Found" code 5 🥺
hey @Kalcode yes, because we are still transitioning from v1->v2, so few endpoints are only available on zitadel v4+
Hi @Rajat Singh , I’m a newbie. Just spun up a Docker instance (v4.0.2) and I’m running into the same 4xx "Not Found" error when trying to access the login/console page. I can confirm that the DB has been created though.
hey @Vandu Murugan can you pls open a new thread?. https://discord.com/channels/927474939156643850/1019895518383583323
Thanks
suggestion for the docs: Dont mark all v1 APIs related to user grants as deprecated, while the v2 APIs have not been stabilized and are subject to change and are not yet available on the hosted version of Zitadel.
This also seems just wrong



hey @bela yes, that is why they are marked as deprecated, and may be released in future releases. We are aware that V2s are not stablizied but thanks for pointing this out.