org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "%2" | Community
Skip to main content
TS01102018
New Participant
July 1, 2019
Solved

org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "%2"

  • July 1, 2019
  • 2 replies
  • 1878 views

Hi All,

Need your advise, I'm trying to use % in customised AEM component and it's returning an error message.

Any help will be appreciated!

Steps taken

Using % in customised AEM component's headline and page is returning an error, please refer below (Error Message).

Error Message

org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "%2"

Thank You

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by antoniom5495929

Hi,

I think that you are using a characters which is not allowed.

Please have a look on the following documentation where you can find info about:

- Allowed characters for page title [0]

- How to force usage of special character [1]

[0] Naming Conventions

[1] Adobe Experience Manager Help | Posting Special Characters to Adobe Experience Manager 

Let us know.

Thanks,

Antonio

2 replies

TS01102018
New Participant
July 16, 2019

Hi Antonio,

Apologise for late in response, I have shared your article with my team and pending their assistant to look into it.

Thank you for your respond!

antoniom5495929
antoniom5495929Accepted solution
New Participant
July 1, 2019

Hi,

I think that you are using a characters which is not allowed.

Please have a look on the following documentation where you can find info about:

- Allowed characters for page title [0]

- How to force usage of special character [1]

[0] Naming Conventions

[1] Adobe Experience Manager Help | Posting Special Characters to Adobe Experience Manager 

Let us know.

Thanks,

Antonio