test_api[create_site-unauthorized]
Written to prove TC-SITE-014 The Create Site and Import Site buttons are withheld from a member who is not an organization admin
automation/tests/onboardingsvc/site_authz/test_site_authz.py::TestSiteAuthz::TestMember::test_api[create_site-unauthorized]
API test in suite
SiteAuthz ·
first seen 2026-08-13 00:29:52 UTC · last seen 2026-11-17 00:21:42 UTC
· ← all runs
Linear issues
No Linear issue is tied to this test.
api-tests-master — its newest 10 runs, oldest first
api-tests-production — its newest 8 runs, oldest first
Each distinct failure it has had (2)
b360062659e0
in 0 runs · first
api-tests-production jenkins-599
(2026-11-01 19:23:47 UTC) · last
api-tests-production jenkins-599
(2026-11-01 19:23:47 UTC)
why failed on setup with "RuntimeError: add_site_to_study: study 10fb26c2-b28d-4575-990d-2e58d37f0c62 did not accept afac8a6f-e288-499c-a753-bc9a9b993a79: you do not have access to this resource"
traceback
automation/tests/fixtures/common.py:161: in shared_env
Study(cro_test_headers).add_site_to_study(
automation/models/study.py:63: in add_site_to_study
raise RuntimeError(
E RuntimeError: add_site_to_study: study 10fb26c2-b28d-4575-990d-2e58d37f0c62 did not accept afac8a6f-e288-499c-a753-bc9a9b993a79: you do not have access to this resource
e050857be931
in 0 runs · first
api-tests-production jenkins-527
(2026-08-25 21:09:35 UTC) · last
api-tests-master jenkins-577
(2026-10-29 00:22:03 UTC)
why failed on setup with "requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)"
traceback
.venv/lib/python3.12/site-packages/requests/models.py:978: in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/json/__init__.py:346: in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/json/decoder.py:338: in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/json/decoder.py:356: in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
E json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
automation/tests/fixtures/common.py:143: in shared_env
StudyActor(study["tildaid"], cro_test_headers).wait_till_default_actor_added()
automation/models/study_actor.py:171: in wait_till_default_actor_added
all_actors = response.json()
^^^^^^^^^^^^^^^
.venv/lib/python3.12/site-packages/requests/models.py:982: in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
E requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)