How to get the error message from a AWS code to display on the portal

I implemented IAuthProvider, it works, within the code when authentication fails, I threw AccessDeniedException(customMessage) but when the login fails, the login screen always display the "You could not be logged in to the portal." error message, how can I get it to display the custom message? Am I throwing the wrong exception?
TIA.

Simpler? Uhm as far I know there doesn't exist any magic and you have just to write one or two lines of Javascript code yourself. Is that hard?

Similar Messages

  • After moving from Canada to the US, getting a new iPhone 5C, and restoring my backup from iCloud, I can't update my apps. I get an error message that my account is not valid in the Canadian App store and I must change to the US store. How do I do that?

    After moving from Canada to the US, getting a new iPhone 5C, and restoring my backup from iCloud, I can't update my apps. I get an error message that my account is not valid in the Canadian App store and I must change to the US store. How do I do that?

    Change here:
    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region.
    You must have a verified billing address & be located in the country whose store you are trying to use.

  • Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Maybe it's set as a login item:
    - System Preferences: Users and Groups:
    - Highlight your user account in the left pane/list
    - Click "Login" tab at the top.
    See if you have an Automater action on the list
    - Note, you can select it, then right-click, and can then select "Reveal in Finder". That way you might have an idea what installed it.

  • HT4059 I got an error message that I should connect to Wi-Fi after trying to download a Book Sample from the iBooks Store. I still get this error message even after I bought, downloaded, and transferred the file to my iPad's iBook thru iTunes. Wi-Fi ain't

    I got an error message that I should connect to Wi-Fi after trying to download a Book Sample from the iBooks Store. I still get this error message even after I bought, downloaded, and transferred the file to my iPad's iBook thru iTunes. Wi-Fi ain't cheap.

    Hi I had a similar issue to you, I could connect to the router but no internet. Here is my explanation of how I sorted it.....I hope this works for you.
    *To anyone that is reading this it appears that the problem lay in the airport setting: IPV6: set to 'Automatically'. I turned it off (after reading someones plight on MacFixIt) & everything is back to normal.*
    *The worrying thing is although my problem was extreme with other computers on the network being locked out nothing was changed, one minute it worked the next it didn't. Reading on other forums it appears to be a problem with laptops (but I could be mistaken). A lot of people on the Macfixit forum are complaining of network just dropping out even when they are next to the router.*
    *I hope this is the fix (although I dont know why it suddenly went to sh*t!) & I hope my hair pulling & trawling the forums can help someone else out.*
    Much Respect
    Lammo

  • After syncing my iPhone to outlook (via cord) I get an error message from Mobile Me.  I don't even use Mobile Me. How do I get rid of it?

    After syncing my iPhone to outlook (via cord) I get an error message from Mobile Me.  I don't even use Mobile Me. How do I get rid of it?

    In your Uninstall a program control panel, uninstall the MobileMe control panel for Windows.

  • I am unable to print PDF's using either Adobe Reader or Safari. In Adobe Reader, I get an error message from my Cannon printer that says, "/usr.libexec/cups/filter/pstocupsraster failed". In Safari, I can only print the first page of a PDF.

    To try to resolve this problem, I have done the following actions.
    1 - I have run Disk Warrior.
    2 - I have repaired permissions.
    3 - I have deleted all plist that are either Cannon or Adobe.
    4 - I have downloaded and installed the lastest versions of Adobe Reader and the Cannon printer drivers.
    I am still unable to print PDF's.
    In Safari, I can print only the first page. In a multipage PDF, Safari only seems to recognize the first page.
    In Adobe Reader, I get an error message from my printer: "/usr/libexec/cups/filter/pstocupsraster failed".
    Any help would be greatly appreicated!

    Quit Safari.
    Open the Library folder in your home folder as follows:
    ☞ If running OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of OS X, select Go ▹ Go to Folder… from the Finder menu bar and copy the line below into the text box that opens:
    ~/Library
    Delete the following items from the Library folder:
    Caches/com.apple.Safari/Cache.db
    Preferences/com.apple.quicktime.plugin.preferences.plist
    Preferences/QuickTime Preferences
    Relaunch Safari and test.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select "/var/log/cups/error_log" from the file list. Post the messages from the time of the last printing attempt.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.

  • HT1386 I am trying to download ios 5.1.1 on my iphone from itunes and i get an error message that my iphone cannot be updated because the filmware is not compatible?  What do I do?

    I am trying to download ios 5.1.1 on my iphone from itunes and i get an error message that my iphone cannot be updated because the filmware is not compatible?  What do I do?

    iOS 5 is only compatible with the iPhone 3Gs and later...
    Updating to iOS 5   http://support.apple.com/kb/HT4972

  • Im trying to set up a connection to localhost from my mac but keep getting an error message: Firefox can't establish a connection to the server at localhost.

    Hi
    I'm new to working with Mamp, Dreamweaver and WordPress and am trying to work using the Firefox browser. unfortunately i keep getting the error message Firefox can't establish a connection to the server at localhost. when i type the URL http://localhost/explore_ca/blog/wp-admin I cant use Dreamweaver with WP without this is there a reason for this and how do i get around it?

    1- Is your MAMP working '''whithout errors'''(does it show you errors while executing or running and enabling)?
    2- Have you tested other browsers? Is your problem still occuring?
    3- Are you using '''proxy '''or '''VPN '''(or setted a proxy server or VPN server on your Computer)?

  • I want to share files from iMac to MacBookPro.  In "Sharing" setup I want to check "screen Sharing" but get the error message"Screen Sharing is currently being controlled by the Remote Management service."  What do I need to FIX???

    I want to share files from iMac to MacBookPro.  In "Sharing" setup I want to check "screen Sharing" but get the error message"Screen Sharing is currently being controlled by the Remote Management service."  What do I need to FIX???

    Care to share which OS you are using? 
    Have you read for possible solutions over in the "More Like This" thread over here?-----------------------> 

  • I am now getting an error message from Elementsautoanalyzer.exe, extendscript.dll not found. reinstalling the application may fix this problem.  is there a fix for this?

    I am now getting an error message from Elementsautoanalyzer.exe, extendscript.dll not found. reinstalling the application may fix this problem.  is there a fix for this?

    TomCT60,
    Is your MacBook using Mac OS X 10.6.8 as indicated in your post? If so you will not be able to fully integrate with iCloud.
    iCloud and Snow Leopard, by Roger Wilmut describes what iCloud options are available for Snow Leopard.
    If you are using Lion, go to iCal>Preferences...>Accounts, and delete/re-add your iCloud CalDAV server.

  • How can I Fetch the error message from a OAF page

    Hi,
    A confirmation message is coming on the page,I want to catch the error message and depending on its value want to add some validation.
    Is that possible to fetch the error message from the page?

    is it a confirmation message or an error message ?
    Code in the OAF page would be raising an OAException with a message name defined in message dictionary.
    you would need to look at the code to understand where this is thrown from and add your validation there.
    Tapash

  • I'm getting the error message "Photos folder syncing has been disabled for the iPhone my iPhone because the folder "Pictures" cannot be found."

    I'm getting the error message "Photos folder syncing has been disabled for the iPhone <my iPhone> because the folder "Pictures" cannot be found." lately.
    Normally, all I do with photos is move them from my iPhone to my computer's (Windows 7) hard drive. I do this by connecting the iPhone with the cable, a box pops up on the screen asking me what I want to do, and I choose "Import pictures and videos". I've previously selected the "delete photos from the device after move" option (or however it's worded...), simply because I don't want this device to fill up with photos.
    Lately, it has been importing the photos fine, but it won't delete them from the iPhone. This used to work just fine, now it doesn't work and I don't know what changed, if anything. In iTunes, I get the error message I list at the beginning of this message.
    How do I fix this?

    Hi there scarbo59,
    You mentioned that you are still able to import without issues, but you may still want to run through the troubleshooting steps outlined in the article below. 
    iOS: Unable to import photos to computer
    -Griff W. 

  • When sending an email through windows live I get an error message from WebKit2WebProcess.exe

    Hi,
    Every time when I try and send an email from windows live I get an error message from WebKit2WebProcess.exe.
    Not sure if I deactivate this from Windows live whether I will compromise my security.
    Any advice would be helpful.
    Thanks,
    Becky

    Thank you Matt. I'm sure this will be frustrating ...but the more I think about this problem there more info I have to share. The emails I write that do not get sent do end up in my "sent" folder but never reach the recipient. And, most perplexing, the issue/problem is sporadic. It was coming and going before I switched over to the SSL/TLS option in T-bird. And...since the switch it has reappeared and disappeared. I have made zero changes other than the above mentioned. I did get a security update today for T-bird perhaps this will help?
    I read your link, thank you.
    I obviously don't understand how these systems work. I'm baffled how an issue like this can come and go...

  • When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says: The request for account "iCloud" failed.  The server responded with "502" to operation CalDAVSetPropertyQueueableOperation. Help!!??

    When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says:
    The server responded with “502”
    The request for account “iCloud” failed. 
    The server responded with “502” to operation CalDAVSetPropertyQueueableOperation.
    The request for account “iCloud” failed.
    I am then given the option of staying Online or going Offline.
    Can anyone help me?
    thanks

    Hello b.krushel,
    Thank you for using Apple Support Communities
    Any number of things could cause this issue, so I would recommend this article named iCloud: Troubleshooting iCloud Calendar found here http://support.apple.com/kb/TS3999.
    These sections in particular:
    General Troubleshooting
    Make sure there are no current issues listed on the System Status that affect iCloud Calendar. The System Status is located on the iCloud Support webpage.
    Make sure you have fully enabled iCloud Calendar for the client you are using (for more setup and troubleshooting information on iOS, OS X, Windows and iCloud.com, see the additional details below).
    Check to see if the issue you are seeing is covered in iCloud Help. To search iCloud Help, visit help.apple.com/icloud.
    Check your settings and preferences as something may not be set up correctly. For example, having incorrect date and time settings can cause issues which are easily resolved by entering the appropriate settings.
    Troubleshooting Calendar on OS X Mountain Lion (iCal on OS X Lion)Note: For instructions on setting up iCloud Calendar with Calendar or iCal on your Mac, see iCloud Setup.If you are having trouble with Calendar or iCal on a Mac and you are using iCloud Calendar, try each of these steps, testing after each to see if the issue is resolved:
    Make sure you are using OS X Lion v10.7.2 or later. Click here for help verifying the version of OS X you are using.
    Make sure your computer is online. Attempt to view www.apple.com and iCloud.com. If you can't connect to the Internet, your iCloud calendars and events will not update in iCal. Click here for more information about troubleshooting your Internet connection.
    Verify that your iCloud member name is entered into the iCloud Preference pane in System Preferences. See iCloud Setup for more information about setting up iCloud on a Mac.
    Make sure you enter and update calendar information in the iCloud section of Calendar or iCal. Only calendars and events in the iCloud section of the Calendar or iCal Calendar list will be pushed to iCloud. Both Calendar and iCal for the Mac support the display of and interaction with multiple accounts and datastores, for example, iCloud, On My Mac, Exchange, Google, and so on. This makes it easy to create or modify events or calendars in a section of  Calendar or iCal that may not be updating iCloud. Learn more about moving local calendars to iCloud.
    In some cases, you may find that you have data duplicated in both the local On My Mac and the iCloud sections of Calendar or iCal. Learn more about resolving this issue.
    You can make the iCloud calendar your default calendar for all new events. In Calendar on OS X Mountain Lion, choose Calendar > Preferences > General, or in OS X Lion, choose iCal > Preferences > Generaland under the Default Calendar heading, select one of the Calendars under the iCloud heading. Close the Preferences window to save this change.
    If recent changes simply don't appear, try forcing Calendar or iCal to refresh by selecting Refresh All from theCalendar menu.
    Make sure your account was successfully created in Calendar on your Mac (or iCal). After upgrading to iCloud Calendar, you may need to quit and reopen Calendar (or iCal). To confirm your account is configured correctly in iCal:
    Open Calendar (or iCal).
    Open Calendar (or iCal) Preferences.
    Click Accounts. You should see an account with your iCloud member name entered.
    Turn iCloud Calendars off and back on
    Quit Calendar (or iCal).
    Choose Apple () menu > System Preferences > iCloud.
    Remove the checkmark in the checkbox next to Calendars.
    Close System Preferences and wait about a minute.
    Open System Preferences and choose iCloud.
    Replace the checkmark next to Calendars.
    Close System Preferences.
    Open Calendar (or iCal) and test to see if the issue has been resolved.
    Restart your computer. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    Take care,
    Sterling

  • On starting up firefox i am getting an error message from javascript application telling me that my username is an invalid username/password combination.If i continue to get this error message,try entering my email address as my username.

    Hi,on starting firefox which i have used solely as my browser for years i am now getting an error message from java script application that shows my username followed by a message saying; 'username'-Invalid username/password combination.If you keep getting this error,try entering your email address as your username'. I then press the OK button within that error message box and it dissapears and everything seems ok although hover my cursor over the mail(envelope) icon and it says not connected.
    I only started having this problem since downloading firefox 4.It also does not tell me where this problem is occuring so i do not know where to log on with this information.I would be most grateful for any help with this matter.Many thanks.

    Take a look in the Error Console for details about that.
    Tools > Error Console <br />
    Right-click the message and use '''Copy''' to get that complete message.

Maybe you are looking for