-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Whilst running the GitHub Organizer came across an issue for the update_team_members function within the githuborganizer/tasks/github.py file
[2022-01-28 16:51:12,424: ERROR/ForkPoolWorker-68] Task githuborganizer.tasks.github.update_team_members[650674c1-837d-4931-bdfb-05ad6bccfeb1] raised unexpected: <UnprocessableEntity [You must purchase at least one more seat to add this user as a member.]>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 412, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 704, in __protected_call__
return self.run(*args, **kwargs)
File "/app/githuborganizer/tasks/github.py", line 249, in update_team_members
team.add_or_update_membership(member)
File "/usr/local/lib/python3.6/site-packages/github3/decorators.py", line 31, in auth_wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/github3/orgs.py", line 93, in add_or_update_membership
return self._json(self._put(url, json=data), 200)
File "/usr/local/lib/python3.6/site-packages/github3/models.py", line 156, in _json
raise exceptions.error_for(response)
github3.exceptions.UnprocessableEntity: 422 You must purchase at least one more seat to add this user as a member.
Metadata
Metadata
Assignees
Labels
No labels