# Access denied when connecting to depplearning.AI using iframe

**URL:** <https://community.deeplearning.ai/t/access-denied-when-connecting-to-depplearning-ai-using-iframe/884356>\
**Category:** AI Python for Beginners\
**Created:** [December 2, 2025, 10:13pm UTC](https://community.deeplearning.ai/t/access-denied-when-connecting-to-depplearning-ai-using-iframe/884356 "2025-12-02T22:13:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SupK](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@SupK](https://community.deeplearning.ai/u/SupK)\
**Post date:** [December 2, 2025, 10:13pm UTC](https://community.deeplearning.ai/t/access-denied-when-connecting-to-depplearning-ai-using-iframe/884356/1 "2025-12-02T22:13:31Z")

</div>

I could connect to url

# The url from one of the Batch’s newsletter

url = ‘[https://www.deeplearning.ai/the-batch/the-world-needs-more-intelligence/’](https://www.deeplearning.ai/the-batch/the-world-needs-more-intelligence/%E2%80%99)

# Getting the content from the webpage’s contents

response = requests.get(url)

print(response.status\_code)  
print(response.text)  
but when I run follwing  
HTML(f’')  
i get access denied.  
Not sure why and no explanation in the lab about it

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [December 2, 2025, 11:15pm UTC](https://community.deeplearning.ai/t/access-denied-when-connecting-to-depplearning-ai-using-iframe/884356/2 "2025-12-02T23:15:36Z")

</div>

The URL you posted is broken.

---

<div class="post-metadata">

**Author:** ![SupK](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@SupK](https://community.deeplearning.ai/u/SupK)\
**Post date:** [December 3, 2025, 12:53am UTC](https://community.deeplearning.ai/t/access-denied-when-connecting-to-depplearning-ai-using-iframe/884356/3 "2025-12-03T00:53:11Z")

</div>

![image](https://global.discourse-cdn.com/dlai/original/3X/e/2/e25b849bb83e5a6de969221c6820eaecae478d74.png)  
See the attached screenshot

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [December 3, 2025, 1:01am UTC](https://community.deeplearning.ai/t/access-denied-when-connecting-to-depplearning-ai-using-iframe/884356/4 "2025-12-03T01:01:46Z")

</div>

@mubsi, can you explore this issue?

---

<div class="post-metadata">

**Author:** ![Mubsi](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/mubsi/32/94983_2.png) [@Mubsi](https://community.deeplearning.ai/u/Mubsi)\
**Post date:** [December 3, 2025, 2:15pm UTC](https://community.deeplearning.ai/t/access-denied-when-connecting-to-depplearning-ai-using-iframe/884356/5 "2025-12-03T14:15:07Z")

</div>

Thanks, Tom, for letting me know. I’ll look into it. Not sure why it is not working anymore.

The connection response comes back as \<Response [200]\>, meaning it was successful, but it doesn’t display.

Btw, The link is correct and opens: [The World Needs More Intelligence](https://www.deeplearning.ai/the-batch/the-world-needs-more-intelligence/)
