Hi,
If it's working in one environment (development) and not working in another environment (production), then it sounds like there's a diference between the two environments. I would check that your setup and deployment in one environment matches the other, including permissions.
Good luck!