diff --git a/waitlist/utility/swagger/eve/__init__.py b/waitlist/utility/swagger/eve/__init__.py index d11d95b8..82482da0 100644 --- a/waitlist/utility/swagger/eve/__init__.py +++ b/waitlist/utility/swagger/eve/__init__.py @@ -74,7 +74,7 @@ def get_monolith_error(self): if ', details: {' in self.__error: monolith_error = {} monolith_error['error_label'] = self.__error.split(',', 1)[0] - monolith_error['error_dict'] = ast.literal_eval(self.__error[self.__error.index(', details: {')+12:]) + monolith_error['error_dict'] = ast.literal_eval(self.__error[self.__error.index(', details: {')+11:]) return monolith_error ''' If none of these work, return this fallback