# How to change Auth0 error message?

**URL:** <https://community.auth0.com/t/how-to-change-auth0-error-message/59351>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [March 12, 2021, 10:05pm UTC](https://community.auth0.com/t/how-to-change-auth0-error-message/59351 "2021-03-12T22:05:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.yang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david.yang/32/22931_2.png) [@david.yang](https://community.auth0.com/u/david.yang)\
**Post date:** [March 12, 2021, 10:05pm UTC](https://community.auth0.com/t/how-to-change-auth0-error-message/59351/1 "2021-03-12T22:05:20Z")

</div>

Auth0 universal login shows an error “could not open popup” on mobile and safari web browser.  
You could refer to this.

> [@How to allow popup permission of web browser in mobile](https://community.auth0.com/t/how-to-allow-popup-permission-of-web-browser-in-mobile/53663):
>
> I am using Auth0 loginwithpopup in my React app. Auth0 works well in all desktops, but when I try to login it says “Could not open popup” using mobile web browser. How can I avoid this and allow the permission programmatically? import React, { createContext, useEffect, useReducer } from 'react'; import { Auth0Client } from '@auth0/auth0-spa-js'; import SplashScreen from 'src/components/SplashScreen'; import { auth0Config } from 'src/config'; import axios from 'axios'; let aut…

I am going to update the error message to “Check popup permissions in the setting”.  
Please let me know how to figure this out.

---

<div class="post-metadata">

**Author:** ![Ale](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale/32/50860_2.png) [@Ale](https://community.auth0.com/u/Ale)\
**Post date:** [March 13, 2021, 2:59am UTC](https://community.auth0.com/t/how-to-change-auth0-error-message/59351/2 "2021-03-13T02:59:24Z")

</div>

Hi @david.yang,

I’ve taken a look at our code and it seems that this is not configurable because the error message is currently hardcoded: [auth0-spa-js/utils.ts at v1.13.6 · auth0/auth0-spa-js · GitHub](https://github.com/auth0/auth0-spa-js/blob/v1.13.6/src/utils.ts#L106)

As far as I know, it would require a code change for that library. I would suggest submitting your feedback to our Product Team so they can evaluate its implementation: [Auth0: Secure access for everyone. But not just anyone.](https://auth0.com/feedback)

---

<div class="post-metadata">

**Author:** ![david.yang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david.yang/32/22931_2.png) [@david.yang](https://community.auth0.com/u/david.yang)\
**Post date:** [March 13, 2021, 3:33am UTC](https://community.auth0.com/t/how-to-change-auth0-error-message/59351/3 "2021-03-13T03:33:17Z")

</div>

Hi @Ale .  
Thanks for your help.  
Btw, can I avoid the popup error still using loginwithpopup method by allowing the browser popup permission dynamically or by other way?

---

<div class="post-metadata">

**Author:** ![Ale](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale/32/50860_2.png) [@Ale](https://community.auth0.com/u/Ale)\
**Post date:** [March 14, 2021, 2:10am UTC](https://community.auth0.com/t/how-to-change-auth0-error-message/59351/4 "2021-03-14T02:10:40Z")

</div>

I don’t think that’s possible, @david.yang. Being able to change the browser (client) settings programmatically by a third-party web application would raise many security concerns immediately.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 15, 2021, 8:36am UTC](https://community.auth0.com/t/how-to-change-auth0-error-message/59351/5 "2021-03-15T08:36:54Z")

</div>

Exactly! That’s right!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 25, 2021, 10:02am UTC](https://community.auth0.com/t/how-to-change-auth0-error-message/59351/6 "2021-03-25T10:02:00Z")

</div>


