Hello, I am writing to bring to your attention an issue that I am facing with the microservice I developed. When making an API call to the routes, the microservice is returning a 403 error.
The microservice is successfully deployed, and I have thoroughly tested it locally using Postman, where the API calls worked as expected. However, when deployed on the host server, the 403 error occurs.
Here is an example of the API call I am using:
String API_URL = “https://apollo-microservice.onrender.com/api/user/authenticate”;
URL url = new URL(API_AUTH_URL);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
I have double-checked the authentication mechanism in the methods and ensured that the necessary permissions are set correctly. I am unable to pinpoint the exact reason for the 403 error.
I am seeking your assistance in troubleshooting and resolving this issue. Could you kindly review the microservice’s configuration and logs to identify any potential causes of the 403 error?
If you require any additional information or logs from the microservice, please let me know, and I will be more than willing to provide them to facilitate the debugging process.