see there is no proper error can you please try to use above curl and call api from postman you will get better idea of issue please
Thanks for helping