caught no such endpoint error