My code run on test server and production server but problem is that API working fine in production server and give error on test server even though both code are line to line same.
Usage of API in test server is more than production server.
Now I found which part giving error on test server and not find error on production server
Error occur : Adding twilio dependency
I am using Open AI API and twilio video room API in java spring boot project.
Problem : When I add twilio maven dependency Open AI chat completions API don’t work give 400 bad request error and I remove twilio maven dependency then chat completion APis working fine.
dependency :
com.twilio.sdk
twilio
9.9.0
compile
So give me solution how to resolve that and I don’t understand problem on which side.