diff --git a/lib/osf-components/addon/components/addons-service/manager/component.ts b/lib/osf-components/addon/components/addons-service/manager/component.ts index 2d8ee89bc1..d0ca89f031 100644 --- a/lib/osf-components/addon/components/addons-service/manager/component.ts +++ b/lib/osf-components/addon/components/addons-service/manager/component.ts @@ -259,9 +259,16 @@ export default class AddonsServiceManagerComponent extends Component { } this.cancelSetup(); } catch(e) { - this.toast.error(this.intl.t('addons.configure.error', { + const baseMessage = this.intl.t('addons.configure.error', { configurationName: this.selectedConfiguration?.displayName, - })); + }); + if (e.errors && e.errors[0].detail) { + const apiMessage = e.errors[0].detail; + this.toast.error(`${baseMessage}: ${apiMessage}`); + } else { + this.toast.error(baseMessage); + } + } }