HTTP 302 status code is not an error but just indicates a temporary redirect to another URL.
By default, Android HttpURLConnection
will follow up to five redirects automatically. It won't work if there's a longer redirect chain e.g. there's a redirect loop, or one of the redirects changes protocol from HTTP to HTTPS or vice versa.
The result document you show just shows a generic 302 redirect page but there's no indication what the actual HTTP level status code is.