Appium didn`t find the interface IDs

Good morning,

My name is Joyce and I work in mobile project and we are using Appium as a tool in interface automation. We are facing the follow issue: we are using a stable environment, an defined set of devicers and a test script that works; however, sometimes the tool can’t find the IDs in our scripts. If we run the test again some seconds later it work.
In our scripts, we use features to wait the elements to show up in the screen, but sometimes it works and sometimes it doesn’t.

Someone had this issue? How it can be fixed?