diff --git a/.changelog/18020.txt b/.changelog/18020.txt new file mode 100644 index 00000000000..83c18f33408 --- /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 1d9f030a61a..388d7275789 100644 --- a/ui/app/adapters/application.js +++ b/ui/app/adapters/application.js @@ -39,7 +39,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 [];