• @gordon Error code "302" also refers to redirection (moved temporarily, like with google apps script). i think you should add this to the logic above.

About