# Delete message error

**URL:** <https://forum.sierrawireless.com/t/delete-message-error/17026>\
**Category:** Open AT\
**Created:** [July 17, 2019, 10:26am UTC](https://forum.sierrawireless.com/t/delete-message-error/17026 "2019-07-17T10:26:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toan\_tran123](https://avatars.discourse-cdn.com/v4/letter/t/c57346/32.png) [@toan\_tran123](https://forum.sierrawireless.com/u/toan_tran123)\
**Post date:** [July 17, 2019, 10:26am UTC](https://forum.sierrawireless.com/t/delete-message-error/17026/1 "2019-07-17T10:26:39Z")

</div>

Hi. I am using HL8548 to develop call and SMS application. When receiving new SMS, the module sends me “+CMTI: “SM”,2” code. After that, i use “AT+CMGR=2” to read the content but HL8548 just respond to me “OK”. Then i delete the message from preferenced memory using “AT+CMGD=2,0” and the module responds “+CMS ERROR: invalid memory index” .  
This problem sometimes i got and i don’t know how to fix them. I need your support.  
Thanks in advance!
