# Mosip websub module error

**URL:** <https://community.mosip.io/t/mosip-websub-module-error/255>\
**Category:** General\
**Created:** [December 8, 2022, 9:06am UTC](https://community.mosip.io/t/mosip-websub-module-error/255 "2022-12-08T09:06:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nejib](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nejib/32/124_2.png) [@nejib](https://community.mosip.io/u/nejib)\
**Post date:** [December 8, 2022, 9:06am UTC](https://community.mosip.io/t/mosip-websub-module-error/255/1 "2022-12-08T09:06:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nejib](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nejib/32/124_2.png) [@nejib](https://community.mosip.io/u/nejib)\
**Post date:** [December 8, 2022, 9:07am UTC](https://community.mosip.io/t/mosip-websub-module-error/255/2 "2022-12-08T09:07:53Z")

</div>

@gsasikumar related of [Websub module error](https://community.mosip.io/t/websub-module-error/250)

---

<div class="post-metadata">

**Author:** ![vishwa](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/vishwa/32/894_2.png) [@vishwa](https://community.mosip.io/u/vishwa)\
**Post date:** [December 8, 2022, 11:37am UTC](https://community.mosip.io/t/mosip-websub-module-error/255/3 "2022-12-08T11:37:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nejib](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nejib/32/124_2.png) [@nejib](https://community.mosip.io/u/nejib)\
**Post date:** [December 8, 2022, 1:15pm UTC](https://community.mosip.io/t/mosip-websub-module-error/255/4 "2022-12-08T13:15:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vishwa](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/vishwa/32/894_2.png) [@vishwa](https://community.mosip.io/u/vishwa)\
**Post date:** [December 8, 2022, 1:24pm UTC](https://community.mosip.io/t/mosip-websub-module-error/255/5 "2022-12-08T13:24:10Z")

</div>

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.

> <https://github.com/mosip/websub/blob/e8e471665694c031759665554d2fd42ade1eefeb/hub/Dockerfile#L4>

---

<div class="post-metadata">

**Author:** ![nejib](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/nejib/32/124_2.png) [@nejib](https://community.mosip.io/u/nejib)\
**Post date:** [December 8, 2022, 4:04pm UTC](https://community.mosip.io/t/mosip-websub-module-error/255/6 "2022-12-08T16:04:54Z")

</div>

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