# "external error - application timeout" for maapi\_create of leaf-list element in confd-version 6.5

**URL:** <https://dmap-community.ductus.global/t/external-error-application-timeout-for-maapi-create-of-leaf-list-element-in-confd-version-6-5/1929>\
**Category:** CDB and CDB API\
**Created:** [May 14, 2018, 8:40am UTC](https://dmap-community.ductus.global/t/external-error-application-timeout-for-maapi-create-of-leaf-list-element-in-confd-version-6-5/1929 "2018-05-14T08:40:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiriveni](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@thiriveni](https://dmap-community.ductus.global/u/thiriveni)\
**Post date:** [May 14, 2018, 8:40am UTC](https://dmap-community.ductus.global/t/external-error-application-timeout-for-maapi-create-of-leaf-list-element-in-confd-version-6-5/1929/1 "2018-05-14T08:40:19Z")

</div>

Hi ,  
As per confd 6.5 the leaf-list elements will be working like “list”  
Im changing my hook code to support this update. But, im facing with appllicaton timeout for maapi\_create of setting leaf-list element.

hook callpoint type is :set-hook  
trying to set values of leaf-list inside Create() callback function.

leaf-list logical-channel {  
type string;  
}  
keypath for this leaf : std::string keypath = /interfaces/interface{system-1}/logical-channel{value}  
return\_value = transaction\_context-\>MaapiCreate(elem\_keypath)(our own API , to inturn calls maapi\_create()😉 ==\> end up with Time out issue.

please find the logs below:  
May 14 02:12:07 fujitsu oleaf\_hook\_data[1921]: fujitsu FNC\_FACILITY=DIP: oleaf\_hook\_datahandler: elem\_keypath == /interfaces/interface{system-1}/logical-channel{value}

May 14 02:12:07 fujitsu oleaf\_hook\_datahandler[1921]: TRACE MAAPI\_EXISTS /interfaces/interface{system-1}/logical-channel{value} --\> CONFD\_OK

May 14 02:14:09 fujitsu oleaf\_hook\_datahandler[1921]: TRACE MAAPI\_CREATE /interfaces/interface{system-1}/logical-channel{value}DEBUG external error - application timeout  
May 14 02:14:09 fujitsu oleaf\_hook\_datahandler[1921]: --\> CONFD\_ERR

same code is working in transaction type hook.

Kindly provide your inputs on this.  
Thanks in Advance.
