Server returned HTTP response code: 403 for URL: ....?
-
Dear All, I have a big problem to solve now. My website is integrated with payment gateway and while I submitted payment to their server, their back-end server did not reply the StatusURL to my front-end at all. When I asked them to check then they said that it got error as below: java.io.IOException: Server returned HTTP response code: 403 for URL: http://example.com/... at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at TestMerchantStatusURL.sendHttpRequestByPost(TestMerchantStatusURL.java:48) at TestMerchantStatusURL.main(TestMerchantStatusURL.java:23) how to fix this problem? Best Regards,
-
Dear All, I have a big problem to solve now. My website is integrated with payment gateway and while I submitted payment to their server, their back-end server did not reply the StatusURL to my front-end at all. When I asked them to check then they said that it got error as below: java.io.IOException: Server returned HTTP response code: 403 for URL: http://example.com/... at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at TestMerchantStatusURL.sendHttpRequestByPost(TestMerchantStatusURL.java:48) at TestMerchantStatusURL.main(TestMerchantStatusURL.java:23) how to fix this problem? Best Regards,
403 means that you have no access right to the provided URL. It may be due some security or that you are pointing to some folder with no browse access or many many other things... The best is to the company runs the payment system to help you out... More about 403: http://en.wikipedia.org/wiki/HTTP_403[^]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)