This could happen when the network is slow and the request to server is lost. Don't worry, the item will not be lost. 

When it happened, simply force-close your game and launch it again, the buff should either be refunded to you or have taken effects on your account.