Unable to create a custom/scoped application

sahushridhar
Tera Contributor

I have tried creating a scoped application but after giving name & description , it is showing an error message instead.
Attaching snapshot so that you may know the exact error message.

Error Message (also attached): 

Cannot decode: java.io.StringReader@792885d9 Check logs for error trace or enable glide.rest.debug property to verify REST request processing
 
Can anyone please help?
1 REPLY 1

Matthew_13
Tera Guru

Hi!

The error you’re seeing —

Cannot decode: java.io.StringReader@792885d9

— usually happens when ServiceNow can’t process the input for creating the scoped application, often due to:

  1. Special characters in the application name or description (like quotes, slashes, or emojis).

  2. Browser caching or session issues interfering with REST calls behind the scenes.

  3. Missing required fields or misconfigured instance properties.

Steps to fix:

  1. Check the name and description

    • Use only letters, numbers, spaces, and basic punctuation. Avoid quotes, slashes, or unusual symbols.

  2. Clear cache / try a different browser

    • Go to System Diagnostics → Clear Cache and reload the page.

  3. Enable REST debug

    • Set the property glide.rest.debug=true in System Properties → Logging to get a detailed error in the logs if the problem persists.

  4. Check logs

    • Go to System Logs → Errors to see the full stack trace, which can help pinpoint the exact cause.

Usually, cleaning up the application name/description resolves this error.

 

@sahushridhar  - Please mark as Helpful and Solution Accepted if you find helpful! Thanks KIndly