diff --git a/.changelog/18020.txt b/.changelog/18020.txt new file mode 100644 index 000000000..83c18f334 --- /dev/null +++ b/.changelog/18020.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Fixed error handling for cross-region requests when the receiving region does not implement the endpoint being requested +``` diff --git a/ui/app/adapters/application.js b/ui/app/adapters/application.js index 63f3b14af..b212df467 100644 --- a/ui/app/adapters/application.js +++ b/ui/app/adapters/application.js @@ -44,7 +44,9 @@ export default class ApplicationAdapter extends RESTAdapter { return super.findAll(...arguments).catch((error) => { const errorCodes = codesForError(error); - const isNotImplemented = errorCodes.includes('501'); + const isNotImplemented = + errorCodes.includes('501') || + error.message.includes("rpc: can't find service"); if (isNotImplemented) { return [];