Mosip websub module error

Error bal build command on websub/hub ( ballerina compilation error) using release1.2.0.1.

WARNING [connections.bal:(46:5,46:12)] no such documentable parameter ‘message’
WARNING [connections.bal:(48:48,48:64)] undocumented parameter ‘topicName’
WARNING [connections.bal:(48:66,48:82)] undocumented parameter ‘groupName’
WARNING [security.bal:(94:56,94:63)] this function should explicitly return a value
ERROR [hub_service.bal:(123:24,123:107)] missing error detail arg for error detail field ‘statusCode’
ERROR [hub_service.bal:(154:24,154:108)] missing error detail arg for error detail field ‘statusCode’
ERROR [hub_service.bal:(189:20,189:94)] missing error detail arg for error detail field ‘statusCode’
ERROR [hub_service.bal:(198:20,198:109)] missing error detail arg for error detail field ‘statusCode’
ERROR [hub_service.bal:(247:20,247:128)] missing error detail arg for error detail field ‘statusCode’
ERROR [hub_service.bal:(254:24,255:101)] missing error detail arg for error detail field ‘statusCode’
ERROR [hub_service.bal:(292:20,292:81)] missing error detail arg for error detail field ‘statusCode’
ERROR [hub_service.bal:(302:20,302:79)] missing error detail arg for error detail field ‘statusCode’
error: compilation contains errors

1 Like

@gsasikumar related of Websub module error

@nejib Can you please the share the balarina version that is used while compliing the code ?

Hi @vishwa thank you for the reply
Ballerina 2201.2.2 (Swan Lake Update 2)

As per the docker of release 1.2.0.1, we are using the first release version of swan lake, can you use the same and try once ?

Please refer below exact version mentioned in the docker file.

1 Like

@vishwa thank you for the help, the issue is due of the version of ballerina

1 Like