-
-
Notifications
You must be signed in to change notification settings - Fork 982
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
Status Code 400 on Linking New Team Member to Project #1335
Comments
After reverting to v2.8.90, the error went away. I had to roll back the DB structure first to remove the new
|
I see the same also on v2.8.91. I have not configured any LDAP og email. I added a user, but when trying to add the user to a team in a project, I get the same "Request failes with status code 400" as shown in the screenshot above. I have done a first time install of Semaphore. |
This is because roles have been added. You can view it using the API. Try a get on project's users. You will still see You can still link a user to a project using the API and using the "role" key with the desired value. |
Bypassed this problem this way |
Just linking: Issue seems to be related to #1322 |
Hi all, |
hi @viiwee , Did you fix the issue? It is my mistake to make |
The issue can be easily fixed by updating roles in database: update project__user set role = 'manager' where role = 'task_runner'; |
I didn't test the fix on v2.8.91, I reverted back to v2.8.90 instead. It looks like your fix should work though. Thanks for the updates! |
Oops, did not mean to close the issue. |
Is 2.8.92 safe to upgrade? |
I still have that issue on a fresh v2.8.92 installation @fiftin . also using LDAP if that matters but I changed back to local and the issue remains. that previous mentioned wrong role seems to be solved though :
the previous mentioned cmd
works fine as a workaround though. also:
is both working fine! |
I have the exact same issue, but I'm not using psql/mysql. Below is my docker-compose.yml. How should I address this problem?
|
Same here. Running a docker compose with postgres:14 and semaphoreui/semaphore:latest |
Hi all, I'm on 2.8.91 and experiment the same problem. Just need to update the POST request with a role paramater and new team member get added:
I can provide a PR. In my comprehension, this is needed:
|
Fixed with 2.9.4 |
I'm on v2.8.91. When trying to link a team member to a project, I receive an error "Request failed with status code 400". I was previously on v2.8.51, but upgraded today.
.
No logs are generated by the Semaphore process.
My temporary fix was to modify the database directly and link the user to the project. But I think there may be an issue with the API on this button click.
Other info:
The text was updated successfully, but these errors were encountered: