Unhandled 400 error on corpus type creation
Sentry Issue: ARKINDEX-FRONTEND-1QP
Error: Request failed with status code 400
at createError (./node_modules/axios/lib/core/createError.js:16:15)
at settle (./node_modules/axios/lib/core/settle.js:17:12)
at apply (./node_modules/axios/lib/adapters/xhr.js:61:7)
at r (./node_modules/@sentry/browser/esm/helpers.js:71:23)
Creating a type with a duplicate slug causes an error with {"slug": "Slug must be unique"}
The error is handled by the component and an error is shown on the form field, but the error is still reported to Sentry.