API WORKS on 2 endpoints