API not working on Live environment

I am new to pipedrive. I integrating pipedrive api into my website. I have successfully created deal using api cal. But there is a problem that API works only on my dev environment and same code is not working on live environment. Can anybody help in finding that why its behaving like this?

Hey @skhan, our public API endpoints should work regardless of dev or live environments! Can you please share the Request URL and JSON body, both from one call that worked and one that didn’t? Might be good to also take a look at the way you’re building the API call…mind providing that info please? (no need to include your API token) Thanks in advance!