diff --git a/ExpressAPI/src/routes/AssignmentRoutes.ts b/ExpressAPI/src/routes/AssignmentRoutes.ts
index 23668807edbfed6945313b02ce1b1d9425983f3e..9f46f4973a57441ea2b043c117e343e77ccbed5a 100644
--- a/ExpressAPI/src/routes/AssignmentRoutes.ts
+++ b/ExpressAPI/src/routes/AssignmentRoutes.ts
@@ -99,13 +99,13 @@ class AssignmentRoutes implements RoutesManager {
 
             if ( error instanceof AxiosError ) {
                 if ( error.response?.data.message.name && error.response.data.message.name === 'has already been taken' ) {
-                    return res.status(StatusCodes.CONFLICT).send();
+                    return req.session.sendResponse(res, StatusCodes.CONFLICT, {}, `Repository name has already been take`, DojoStatusCode.ASSIGNMENT_NAME_CONFLICT);
                 }
 
-                return res.status(error.response?.status ?? HttpStatusCode.InternalServerError).send();
+                return req.session.sendResponse(res, error.response?.status ?? HttpStatusCode.InternalServerError);
             }
 
-            return res.status(StatusCodes.INTERNAL_SERVER_ERROR).send();
+            return req.session.sendResponse(res, HttpStatusCode.InternalServerError);
         }
 
         await new Promise(resolve => setTimeout(resolve, Config.gitlab.repository.timeoutAfterCreation));
diff --git a/ExpressAPI/src/shared b/ExpressAPI/src/shared
index 6214acbd799d9eed3f5b6840858f8d5ecda82c86..1346565c5759be045a1347f82eea230d393e38cb 160000
--- a/ExpressAPI/src/shared
+++ b/ExpressAPI/src/shared
@@ -1 +1 @@
-Subproject commit 6214acbd799d9eed3f5b6840858f8d5ecda82c86
+Subproject commit 1346565c5759be045a1347f82eea230d393e38cb