If you see something like this example below:
it means the following:
A 302
redirect means that the page was temporarily moved, while a 301 means that it was permanently moved.
301s are good for SEO value, while 302s aren't because 301s instruct clients to forget the value of the original URL, while the 302 keeps the value of the original and can thus potentially reduce the value by creating two, logically-distinct URLs that each produce the same content (search engines view them as distinct duplicates rather than a single resource with two names).
Solution: Try remove the 302 redirection.
Use this tool to see more info: https://www.redirect-checker.org/index.php