Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

Like (1) ShareShare
ReportReport
Posted on 20 Jul 2021 15:33:05 by

Hi, I enabled two language Spanish and Portuguese on the portal. Everything looks fine except the Sign-in and Redeem invitation Page throwing error when I switch the language from English to Portuguese. In Spanish its working fine, and Register page is also working fine in Portuguese, but Sign-in and Redeem invitation page throw an error below when I switch in Portuguese.

"We are sorry, but seems something went wrong. Please try again, and if this persists, contact the website administrator."

 

Anyone know how to troubleshoot this? the detail error says something wrong with the site map.

Also is there any way I can update the Redeem invitation page title in different language? at the moment it's doing translation on its own to another language but I like to update that title. I'm not able to find where the title of the page is.

 

Thanks,

-Sal

  • Community Power Platform Member Profile Picture
    on 27 Jul 2021 at 01:40:29
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    Thanks, I did that and was able to resolve the other language issue as well.

     

    Thanks,

    -Sal

  • Verified answer
    oliver.rodrigues Profile Picture
    9,274 Most Valuable Professional on 24 Jul 2021 at 09:42:52
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    Hi Sal

    yes, just create a content snippet with the name Account/SignIn/SignInLocalButtonText, set your language, and then set the value

     

    can you send the URL via private message to me? 

  • Community Power Platform Member Profile Picture
    on 22 Jul 2021 at 13:32:14
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    Thank you, I can see the one I need to update in the list, So in order to change the text, Should I create these tags with the same name as defined here?

    Account/SignIn/SignInLocalButtonText - text for Sign in button on the local sign in page (Default: "Sign In")
    Account/Nav/Redeem - text for redeem invitation section of the sign in page (Default: "Redeem invitation")

     

    also the language issue is still that I like to resolve, I really appreciate it if you have any idea on that why typing URL working and switching on the language getting 500 error.

     

    Thanks,

    -Sal

     

  • oliver.rodrigues Profile Picture
    9,274 Most Valuable Professional on 21 Jul 2021 at 20:11:22
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    there are a bunch of label settings that aren't created by default 

     

    We have put together a few "hidden snippets" on this page: https://github.com/OOlashyn/PowerAppsPortalSiteSettingsAndSnippets

    see if you find the ones you need there.. if there are still more that you can't find, please send a snapshot and we can try to find the name of the snippet 

  • Community Power Platform Member Profile Picture
    on 21 Jul 2021 at 12:16:19
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    Hi,

    Sorry I copied the wrong url, Yes it is pt-BR. Question is why it works when I just type this URL in and it doesn't work when click on the switch language. 

    https://--------------.powerappsportals.com/pt-BR/SignIn?returnUrl=%2Fen-US%2F

     

    All other pages are working fine so far that I checked, but only Sign-in and Redeem invitation page throw this error. By any chance do you know where are the Titles for Sign-in and Redeem invitation Pages? looks like these are hidden pages that I cannot see.

     

    Thanks,

    -Sal

  • oliver.rodrigues Profile Picture
    9,274 Most Valuable Professional on 21 Jul 2021 at 08:00:39
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    the URL https://----.powerappsportals.com/en-US/SignIn?returnUrl=%2Fen-US%2F shouldn't bring you to the portuguese version

    it should be pt-BR or pt-PT in the URL

     

    can you check if you have multiple Web Link Sets as well? I believe you should have one for each language 

  • Community Power Platform Member Profile Picture
    on 21 Jul 2021 at 01:52:30
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    Hi,

    I do see each web page in the portal have the localized content in both languages that I enabled. One thing that I notice is when I'm on Sign-in Page and Switch the Language from English to Spanish it work fine, but when I change to Portuguese, it throw an error. But when I copy past the URL it work fine for Portuguese

    https://----.powerappsportals.com/en-US/SignIn?returnUrl=%2Fen-US%2F

     

    it's the same URL that display in the browser when I try to switch from English to Portuguese, and same URL work and display page when I copy past this URL in the browser.

     

    Thanks,

    -Sal

     

     

     

     

     

     

     

    Thanks,

    -Sal

  • oliver.rodrigues Profile Picture
    9,274 Most Valuable Professional on 20 Jul 2021 at 22:08:00
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    Hi, have you simply enabled the multi language, or have you created the web pages? 

    Web Pages are not automatically created when enabling multi language.. can you make sure the Home Web Page contains a localized Web Page for your 2nd language? 

     

    Those things are easier to see in the model driven app / Portal Management App

     

    let me know if you need assistance to get there

  • Community Power Platform Member Profile Picture
    on 20 Jul 2021 at 21:11:37
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    Hi, 

    here is the error below, that looks like something related to SiteMap. 

    System.Web
    Object reference not set to an instance of an object.
    System.NullReferenceException
    at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.<>c__DisplayClass12_1.<GetRootNodeCore>b__3(WebPageNode x) in S:\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 372
    at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
    at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.<>c__DisplayClass12_0.<GetRootNodeCore>b__1(ContentMap map) in S:\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 372
  • oliver.rodrigues Profile Picture
    9,274 Most Valuable Professional on 20 Jul 2021 at 19:50:59
    Re: Getting "We are sorry, but seems something went wrong." when switching the language on Sign-in Page

    Hi, can you follow this video to disable the custom errors page: https://www.youtube.com/watch?v=F8QxoyOIzAc

    this will give us the real exception behind it.. so we can see what's happening 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Pages - Power Apps Portals

Overall leaderboard