# CircleCI 403 Forbidden in HTML artifacts

**URL:** <https://discuss.circleci.com/t/circleci-403-forbidden-in-html-artifacts/35791>\
**Category:** Bug Reports\
**Created:** [May 5, 2020, 2:35pm UTC](https://discuss.circleci.com/t/circleci-403-forbidden-in-html-artifacts/35791 "2020-05-05T14:35:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric89GXL](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/eric89gxl/32/173_2.png) [@Eric89GXL](https://discuss.circleci.com/u/Eric89GXL)\
**Post date:** [May 5, 2020, 2:35pm UTC](https://discuss.circleci.com/t/circleci-403-forbidden-in-html-artifacts/35791/1 "2020-05-05T14:35:13Z")

</div>

When viewing CircleCI artifacts of a HTML page I am getting a slew of errors like:

```
Access to font at 'https://circle-production-customer-artifacts.s3.amazonaws.com/picard/forks/5630d993ae796b0b2be8a441/160366670/GuillaumeFavelier/mne-python/5eb15a16258f2e1cf28f63d1-0-build/artifacts/dev/_static/fonts/source_sans_pro/TTF/SourceSansPro-Light.ttf' from origin 'https://19884-1301584-gh.circle-artifacts.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

```

See for example [this artifact](https://19884-1301584-gh.circle-artifacts.com/0/dev/index.html). This is something new in the last week or two, though it appears to affect looking at artifacts from at least 25 days ago, so I’m guessing it’s due to some AWS artifacts reconfiguration?

---

<div class="post-metadata">

**Author:** ![Eric89GXL](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/eric89gxl/32/173_2.png) [@Eric89GXL](https://discuss.circleci.com/u/Eric89GXL)\
**Post date:** [May 6, 2020, 12:41am UTC](https://discuss.circleci.com/t/circleci-403-forbidden-in-html-artifacts/35791/2 "2020-05-06T00:41:09Z")

</div>

It seems to affect SciPy’s CircleCI HTML artifacts as well:

> <https://github.com/scipy/scipy/issues/12031>
>
> Documentation has been rendering funny recently: parameter names and types are squashed together.
> From minimize.
> linprog
> If those links break, just check:
> in any PR.
> @AtsushiSakai...

---

<div class="post-metadata">

**Author:** ![gmemstr](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/gmemstr/32/22922_2.png) [@gmemstr](https://discuss.circleci.com/u/gmemstr)\
**Post date:** [May 6, 2020, 8:22am UTC](https://discuss.circleci.com/t/circleci-403-forbidden-in-html-artifacts/35791/3 "2020-05-06T08:22:13Z")

</div>

Hiya @Eric89GXL - it looks like this is directly due to our recent change with redirecting artifacts: [https://circleci.com/changelog/#artifacts-redirects](https://circleci.com/changelog/#artifacts-redirects). We recently rolled out a change that allowed JSON files through CORS, but it looks like there are some other file types we should consider allowing through. I’ll pass this along internally, and cross-post this to the GitHub discussion for visibility 🙂

---

<div class="post-metadata">

**Author:** ![Eric89GXL](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/eric89gxl/32/173_2.png) [@Eric89GXL](https://discuss.circleci.com/u/Eric89GXL)\
**Post date:** [May 6, 2020, 2:46pm UTC](https://discuss.circleci.com/t/circleci-403-forbidden-in-html-artifacts/35791/4 "2020-05-06T14:46:15Z")

</div>

Indeed it appears fixed, thanks @gmemstr !

---

<div class="post-metadata">

**Author:** ![adrianosmond](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/adrianosmond/32/24870_2.png) [@adrianosmond](https://discuss.circleci.com/u/adrianosmond)\
**Post date:** [May 6, 2020, 3:10pm UTC](https://discuss.circleci.com/t/circleci-403-forbidden-in-html-artifacts/35791/5 "2020-05-06T15:10:11Z")

</div>

@gmemstr I’m having similar issues with redirects when trying to fetch an svg. Could svg files also be whitelisted? Or is there a way to disable the redirect?
