Problem when creating an app in self hosted zitadel
Hello I am new to zitadel and also auth systems.
When I'm creating an app from the page of the screenshot with certain frameworks like Java, Python, etc.
I got this error :
invalid AddOIDCAppRequest.ProjectId: value length must be between 1 and 200 runes, inclusive

6 Replies
Hi @Angel, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question.
Answer
The error "invalid AddOIDCAppRequest.ProjectId: value length must be between 1 and 200 runes, inclusive" means that the Project ID you're providing when creating an OIDC app does not meet the required length—ZITADEL expects the Project ID to be between 1 and 200 characters (1) . Double-check the Project ID field and ensure it's not empty and doesn't exceed 200 characters.
If you are using the UI, make sure you have actually created a project and are not leaving the project field blank when creating the application (2) . The typical workflow is to create a project first, then add your app under that project .
To learn more, see the sources I considered:
[1] Create Application (OIDC)
[2] The ZITADEL Quick Start Guide
Feel free to tag @Ask Inkeep with additional questions.
Got it. Tagging @Rajat for additional help.
hey @Angel welcome to the server, may I know what version are you on?. Could you pls share the URL of this screenshot?. Thanks
I am using the latest docker image on compose
http://localhost:8080/ui/console/projects/app-create
hey @Angel its also happening for me, I have raised it internaly. Thanks for reprting!
no problem 👍
I will write back to you once I have an update on this 🙂