# Bad Request message: Supplied template has nil or empty description **Category:** [Archetype Designer](https://discourse.openehr.org/c/archetype-designer/30) **Created:** 2024-09-18 02:13 UTC **Views:** 41 **Replies:** 1 **URL:** https://discourse.openehr.org/t/bad-request-message-supplied-template-has-nil-or-empty-description/5728 --- ## Post #1 by @linforest When trying POST an OPT template to EHRBase via the [openEHR-tool](https://discourse.openehr.org/t/openehr-tool), I got an error message (Bad Request): *Supplied template has nil or empty description*. ``` Results failure 400 {'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '0', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Date': 'Wed, 18 Sep 2024 02:02:03 GMT', 'Connection': 'close'} {"error":"Bad Request","message":"Supplied template has nil or empty description"} ``` The OPT template is an export file from the [Archetype Designer](https://tools.openehr.org/designer). The template passes the default validation. ![image|333x499](upload://f2pWwxqa3vaujOhSnXvPhk9wKcK.png) Why such an error message? Just because **the fields of the template description**, such as **keywords**, **purpose**, **use** and **misuse**, are empty? I checked this potential reason. All these fields have been populated. But I still got the same error message. Thanks. --- ## Post #2 by @linforest **Solution**: It seems that the fileds for *Original Author/Publisher* on the tab *Attribution* should also be populated **at least**. ![image|216x139](upload://dsys4DuC5aMgWEUY6aSNqZeuTah.png) --- **Canonical:** https://discourse.openehr.org/t/bad-request-message-supplied-template-has-nil-or-empty-description/5728 **Original content:** https://discourse.openehr.org/t/bad-request-message-supplied-template-has-nil-or-empty-description/5728