# Invoke Error Banner in Login Flow

**URL:** <https://devforum.okta.com/t/invoke-error-banner-in-login-flow/33038>\
**Category:** Questions\
**Tags:** widget\
**Created:** [May 2, 2025, 9:12pm UTC](https://devforum.okta.com/t/invoke-error-banner-in-login-flow/33038 "2025-05-02T21:12:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleandro](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@aleandro](https://devforum.okta.com/u/aleandro)\
**Post date:** [May 2, 2025, 9:12pm UTC](https://devforum.okta.com/t/invoke-error-banner-in-login-flow/33038/1 "2025-05-02T21:12:46Z")

</div>

Hello Okta Team

For Login Flow, I want to show an error banner like this with a custom message  
Is there a way to invoke this error banner? Like widget..showError(‘Custom msg’)?

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/d/def640b9ae00b75a200569c31cb1dce99bf52fd2.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [June 1, 2025, 9:13pm UTC](https://devforum.okta.com/t/invoke-error-banner-in-login-flow/33038/2 "2025-06-01T21:13:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![akash-okta](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@akash-okta](https://devforum.okta.com/u/akash-okta)\
**Post date:** [June 5, 2025, 5:31am UTC](https://devforum.okta.com/t/invoke-error-banner-in-login-flow/33038/3 "2025-06-05T05:31:49Z")

</div>

Thank you for posting in Okta Developer Forum. My name is Akash, from Okta and I will be assisting you with your queries.

For your requirement, you can modify the i18n properties to update the error message.

To update the error message that you are seeing on the screen, you can update the i18n property errors.E0000004 with the custom message as shown below. Please follow the steps given in this article - [Okta Help Center (Lightning)](https://support.okta.com/help/s/article/How-do-I-create-custom-labels-in-the-Signin-widget?language=en_US)

```auto
var config = OktaUtil.getSignInWidgetConfig();

config.i18n.en['errors.E0000004'] = 'Custom Text';

```

Feel free to let me know if you have any other queries or concerns.
