diff --git a/web/src/components/modals/clients/SitesForm.vue b/web/src/components/modals/clients/SitesForm.vue index 41ef8ea2..5d5d5431 100644 --- a/web/src/components/modals/clients/SitesForm.vue +++ b/web/src/components/modals/clients/SitesForm.vue @@ -103,7 +103,7 @@ export default { if (e.response.data.name) { this.notifyError(e.response.data.name); } else { - this.notifyError(e.response.data); + this.notifyError(e.response.data.non_field_errors); } }); },