IBM Support

Cognos Analytics theme is not uploading and throwing GLS-JSN-0001 Error parsing JSON string from spec.json

Troubleshooting


Problem

In Cognos Analytics (CA 11.1.x), when uploading the theme. It loads for long time and upload task does not finish. The upload error needs to be hidden or cancelled. 

Symptom

In cognosserver.log, the error is seen:
GLS-JSN-0001 Error parsing JSON string from spec.json
com.ibm.ba.glass.exception.JSONFormatException: GLS-JSN-0001 Error parsing JSON string from spec.json.
    at com.ibm.ba.glass.loader.FSBaseLoader.validate(FSBaseLoader.java:206) ~[ba_glass_server_core-11.1.5-19111111.jar:11.1.5-19111111]
    at com.ibm.ba.glass.loader.FSBaseLoader.getSpecFromZip(FSBaseLoader.java:157) ~[ba_glass_server_core-11.1.5-19111111.jar:11.1.5-19111111]
    at com.ibm.ba.glass.loader.FSThemeLoader.getRawSpec(FSThemeLoader.java:192) ~[ba_glass_server_core-11.1.5-19111111.jar:11.1.5-19111111]
........
.......
    at java.lang.Thread.run(Thread.java:812) [?:2.9 (04-17-2019)]
Caused by: com.ibm.ba.glass.validation.JsonSchemaValidationException: fatal: err.common.pattern.noMatch
    level: "fatal"
    schema: {"loadingURI":"#","pointer":"/properties/name"}
    instance: {"pointer":"/name"}
    domain: "validation"
    keyword: "pattern"
    regex: "[a-zA-Z0-9\\p{L}_ ]+$"
    string: "IBM-Light"

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m500000008dDpAAI","label":"x REASSIGNMENT Administration and Configuration-\u003ECustomization"}],"ARM Case Number":"TS003560070","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
14 January 2026

UID

ibm16173613