I'm using the 10' version of this without issue. Other people have said to use the shortest possible, but it works for me. https://www.amazon.com/gp/product/B00HSS9KJY/
One other thing I've heard is using a powered USB hub to fix OTG issues. Maybe some ports just don't supply enough/reliable power?