diff --git a/api/tests/routes/resources.py b/api/tests/routes/resources.py
index c0d22e451e86e03f60740926e6b3fc55e6ba6de1..b379dffe09f6f8cec479e6053ff4b60cc601eb1b 100644
--- a/api/tests/routes/resources.py
+++ b/api/tests/routes/resources.py
@@ -60,7 +60,7 @@ class ResourcesTest(ApiTest):
             headers=[
                 ("X-Original-URI", re.sub("http", "invalidurlmodification", resp.headers["Location"]))
             ],
-            expected_response_status=HTTP_401_UNAUTHORIZED,
+            expected_response_status=HTTP_400_BAD_REQUEST,
         )
         self.do_json_request(
             "GET",