diff --git a/src/frontend/src/api/CreateProjectService.ts b/src/frontend/src/api/CreateProjectService.ts index c45c2e7128..0caf528bf5 100755 --- a/src/frontend/src/api/CreateProjectService.ts +++ b/src/frontend/src/api/CreateProjectService.ts @@ -463,7 +463,7 @@ const ValidateCustomForm: Function = (url: string, formUpload: any) => { dispatch( CommonActions.SetSnackBar({ open: true, - message: JSON.stringify(error) || 'Something Went Wrong', + message: error?.response?.data?.detail || 'Something Went Wrong', variant: 'error', duration: 5000, }),