Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Organization Mongo ObjectId initialized to empty when signing up through Github #1470

Open
anyazz opened this issue Mar 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@anyazz
Copy link

anyazz commented Mar 29, 2024

Describe the bug
Organization ID not getting set properly when signing up through Github. Confirmed that signing in w/ Google works instead.

To Reproduce
Sign in through Github

agenta init
? Please enter the app name app
? Where are you running agenta? On agenta cloud
? API Key found: [KEY]
Do you want to use this API Key? Yes
? Which organization do you want to create the app for? [USER]: My Default Organization
Error: status_code: 500, body: {'detail': "'' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string"}

Expected behavior
Expected to proceed to app initialization step

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Important Context
Add context about the problem here.

  1. Network Logs in the Browser:

    • If applicable, Take a screenshot of the network logs or copy and paste any relevant log entries.
  2. Docker Containers Information:

    • If applicable, Provide a screenshot showing the list of running and stopped containers.
    • Please provide us the with a screenshot of the logs for the agenta-backend docker container.
  3. Additional Information:

    • Include any additional details, error messages, or observations that may be helpful.

Please make sure to provide all the requested information to expedite the debugging process. Thank you for helping us improve our project!


@anyazz anyazz changed the title [Bug] Organization Mongo ObjectId not getting set properly when signing up through Github [Bug] Organization Mongo ObjectId initialized to empty when signing up through Github Mar 29, 2024
@mmabrouk mmabrouk added the bug Something isn't working label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants