General Page
With version 5.2 the Toolkit has switched from using ssh to calling REST API's when communicating with the SVC. However, some SVC firmware levels respond with incorrectly formatted JSON data.
These types of messages may appear in the joblog:
IAS1923 Diagnostic 40 12/27/23 10:11:27.537820 QZRDIASRV QZRDHASM *STMT QUIMNDRV QSYS 061E
From user . . . . . . . . . : QLPAR
From module . . . . . . . . : QZRDIAUTIL
From procedure . . . . . . : sendProgramMessage
Statement . . . . . . . . . : 15
Message . . . . : Internal error parsing JSON response from REST API.
An error occurred while parsing the JSON response from a REST API. The first
64 bytes of the response are { "FC_mapping_id": "67", "FC_mapping_name":
"fcmap67" }] .
The viewlog or ctl.log may contain message similar to these:
934615 2023-12-27 10:12:44 Error Start of JSON array (Open bracket) not found. (parseArray)
934615 2023-12-27 10:12:44 Error Start of JSON object (Open brace) found instead.
934615 2023-12-27 10:12:44 Error Failure parsing fc consistency group details. (lsFcConsistGroup)
In directory /QIBM/QZRDHASM/restLogs/<csedta>/ files SvcREST.log.0 may contain the JSON output from the SVC:
FINER: Response: { "id": "11", "name": "ctciha4e_ctcihamp", "status": "prepared", "autodelete": "off", "start_time": "", "owner_id": "", "owner_name": "" },{ "FC_mapping_id": "72", "FC_mapping_name": "fcmap72" },{ "FC_mapping_id": "73", "FC_mapping_name": "fcmap73" },{ "FC_mapping_id": "74", "FC_mapping_name": "fcmap74" },{ "FC_mapping_id": "75", "FC_mapping_name": "fcmap75" }]
Note that the response is missing the initial bracket '[' which is required for a JSON array.
The best solution to this is to move to a supported firmware release which does not have this issue, such as the following:
- 8.6.0.1
- 8.5.0.2
These levels are known to exhibit the problem:
- 8.5.0.8
- 8.2.1.7
An alternative solution is to downgrade the toolkit to 4.6, which did not use the REST API's.
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z000000cxy9AAA","label":"High Availability-\u003EFull System Flash Copy"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
03 January 2024
UID
ibm17105137