Forum Discussion
DarinSpence
4 years agoHelper II
Handling 307–Temporary Redirect Errors With Web.Contents() In Power Query
I'm trying to pull data using Web.Contents() from a Web API and getting a 307-Temporary Re-direct. The URL I’m using works fine if I use Web.BrowserContents, but Web.BrowserContents only works w...
daviddusa
3 years agoRegular Visitor
Hello!
I am struggling with the same problem, trying to handle 302 redirects manually. Is there any update on this issue?
Thank you in advance!
- DarinSpence3 years agoHelper II
All that I was told was that...
"By default, Web.Contents should follow up to 50 redirects before giving up and returning an error. Looking at the Fiddler traces, this seems to be what’s happening. However, it also seems like the site expects the “Set-Cookie” directives in the response to get passed on to the next request and they also told that kind of cookie-handling is only standard in browsers. (This could explain why the site works with Web.BrowserContents)."
Sadly, I don't know if there's anything that can be done.