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

Please don't send error mail about failed CO creationg via API #610

Closed
baszoetekouw opened this issue Mar 30, 2023 · 1 comment
Closed
Milestone

Comments

@baszoetekouw
Copy link
Member

Traceback (most recent call last):
  File "/opt/sbs/sbs/server/api/base.py", line 166, in wrapper
    body, status = f(*args, **kwargs)
  File "/opt/sbs/sbs/server/api/collaboration.py", line 505, in save_collaboration_api
    res = do_save_collaboration(data, organisation, user, current_user_admin=False, save_tags=False)
  File "/opt/sbs/sbs/server/api/collaboration.py", line 518, in do_save_collaboration
    _validate_collaboration(data, organisation)
  File "/opt/sbs/sbs/server/api/collaboration.py", line 589, in _validate_collaboration
    raise BadRequest(f"Collaboration with name '{data['name']}' already exists within "
werkzeug.exceptions.BadRequest: 400 Bad Request: BadRequest: http://sram.surf.nl/api/collaborations/v1. IP: 20.23.x.y, 10.0.0.20. Collaboration with name 'XXXX' already exists within organisation 'Universiteit XXX'.
@baszoetekouw baszoetekouw assigned baszoetekouw and unassigned oharsta Apr 3, 2023
@baszoetekouw baszoetekouw added this to the v22 milestone Apr 3, 2023
oharsta added a commit that referenced this issue Apr 4, 2023
@baszoetekouw
Copy link
Member Author

works correctly now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants