Bypassing weather action/function

I’m currently trying to integrate a weather API from an external company through ChatGPT Actions. Unfortunately, chatgpt keeps bypassing the action/function and using its own ‘API’ except for one time where the action went through but could only be seen through the endpoint logs and not executed through the action in ChatGPT. Any advise for this?