diff --git a/app/adapters/application.js b/app/adapters/application.js index 508db496b46..5798b0dd385 100644 --- a/app/adapters/application.js +++ b/app/adapters/application.js @@ -3,6 +3,12 @@ import RESTAdapter from '@ember-data/adapter/rest'; export default class ApplicationAdapter extends RESTAdapter { namespace = 'api/v1'; + isInvalid() { + // HTTP 422 errors are causing all sorts of issues within Ember Data, + // so we disable their special case handling here, since we don't need/want it. + return false; + } + handleResponse(status, headers, payload, requestData) { if (typeof payload === 'string') { try {