41 views

Description

The error described below occurs while exporting a dashboard tab in pdf.

SYSTEM SEVERE *** ERROR *** com.snc.whtp: An error occurred when generating callback URL 
java.net.URISyntaxException: Illegal character in query at index 214: /$dashboards.do?

"Export failed: An unexpected error has occurred. Please see the instance logs for more details."

This is an indication that something is failing with the URL encoding.

Steps to Reproduce

 

When an existing report name contains spaces, like for example "PL and Baltics", the 'sysparm_element_value' parameter of the URL string does not get encoded correctly.

The error below is observed in the localhost log:

2018-01-08 02:15:43 (432) glide.background.generation.4649121ddbaf87c423f279e9bf9619bd SYSTEM SEVERE *** ERROR *** com.snc.whtp: An error occurred when generating callback URL
java.net.URISyntaxException: Illegal character in query at index 214: /$dashboards.do?sysparm_dashboard=c6294c86dbe5474423f279e9bf96196e&sysparm_cancelable=true&sysparm_editable=false&sysparm_active_panel=false&sysparm_element=0709278e4fadcf00750944f18110c781&sysparm_element_value=PL and Baltics&sysparm_breakdown_source=9ab93fc2dbed03442b5bff3dbf96194a&sysparm_ignore_default_filter=false&sysparm_tab=46294c86dbe5474423f279e9bf961973

Workaround

The fix to this problem is planned for a future release. All current releases at the time of writing are affected.

As a workaround, because this issue is related to URL encoding the title, please replace blank spaces with underscores '_'.


Related Problem: PRB1248139

Seen In

There is no data to report.

Intended Fix Version

London

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-05-15 23:07:02
Published:2018-02-06