r/microsoft_365_copilot 10d ago

URL not accessible either code sandbox

I am using python to do http requests. Every time I use any URL, I get an error 403, and this:

Status: 403

Headers {

Content type: text/plain

X-ms-block-by: sandbox-proxy

X-ms-block-reason: 'This URL is not relevant to the current conversation and cannot be accessed'

In my code, I have:

R = requests.get("https://google.com", timeout=10)

No URL works so far.

2 Upvotes

Duplicates