The error occurs when a message in sequence has multiple empty string quotes. For example:
@startuml Sequence-Message-Gone
skinparam defaultFontName Consolas
autonumber 0 10
participant AA
participant BA
AA -> BA: **API**("param1": "xxx", "para2": "",\n "para3": "", /*Notes*/\n "para4": "", "errMsg": "" )
@enduml
the lastest two string value of param para4 and errMsg was gone:

However, if the latest string quote is not empty, even if only a space, the quote shows correctly:
@startuml Sequence-Message-OK
skinparam defaultFontName Consolas
autonumber 0 10
participant AA
participant BA
AA -> BA: **API**("param1": "xxx", "para2": "",\n "para3": "", /*Notes*/\n "para4": "", "errMse": " " )
@enduml

--
System information:
Plantuml version:
PlantUML version 1.2022.6 (Wed Jun 22 01:34:49 CST 2022)
(MIT source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Default Encoding: MS950
Language: zh
Country: TW
PLANTUML_LIMIT_SIZE: 4096
Dot version: dot - graphviz version 2.44.1 (20200629.0846)
Installation seems OK. File generation OK