# Creating and retrieving flat composition **Category:** [Tools](https://discourse.openehr.org/c/tool-dev/36) **Created:** 2020-12-02 08:54 UTC **Views:** 879 **Replies:** 1 **URL:** https://discourse.openehr.org/t/creating-and-retrieving-flat-composition/1135 --- ## Post #1 by @Raksha_R Hi, I'm trying to create flat composition of a template using docker container. I'm facing issues mentioned below after restarting docker composer. 1. During first try I'm able to create a composition, But after restarting, If I commit a composition I will get an error as mentioned below: { "error": "java.lang.IllegalArgumentException: Composition missing mandatory attribute: language", "status": "Internal Server Error" } 2. Secondly, I'm able to retrieve a composition using compositionId which is fetched after committing a composition. But after restarting, If I try to retrieve a same composition I can see different path coming up in the link attached below: [compositionBody.odt|attachment](upload://jSHoR5xju2Kmn72XxqI9l5EA3DT.odt) (19.3 KB) Please find the attached template for your reference. [EHRN Diagnosis.v1.oet|attachment](upload://1MdeLy3zR1h8ibrmuAtfEFXCkTQ.oet) (3.0 KB) Thanks, Raksha R --- ## Post #2 by @birger.haarbrandt Hi Raksha, flat format is in a beta status at the moment and we highly appreciate all issues reported. Would you mind creating an issue in github with the content provided here? https://github.com/ehrbase/ehrbase Best, Birger --- **Canonical:** https://discourse.openehr.org/t/creating-and-retrieving-flat-composition/1135 **Original content:** https://discourse.openehr.org/t/creating-and-retrieving-flat-composition/1135