# Files Upload API 301 redirect error code

**URL:** <https://community.hubspot.com/t/files-upload-api-301-redirect-error-code/33105>\
**Category:** APIs & Integrations\
**Tags:** php\
**Created:** [March 12, 2021, 6:25pm UTC](https://community.hubspot.com/t/files-upload-api-301-redirect-error-code/33105 "2021-03-12T18:25:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [March 12, 2021, 6:25pm UTC](https://community.hubspot.com/t/files-upload-api-301-redirect-error-code/33105/1 "2021-03-12T18:25:05Z")

</div>

Hello all,

Within the last couple days the file upload endpoint

`http://api.hubapi.com/filemanager/api/v3/files/upload`

has been redirecting to a 301. [docs](https://legacydocs.hubspot.com/docs/methods/files/v3/upload_new_file)

This endpoint has been working and I haven’t made any code changes.

I am now using the development URL and can now upload via [these docs](https://developers.hubspot.com/docs/api/files/files) with this endpoint

`https://api.hubapi.com/files/v3/files`

Has the v3 in the legacy docs been sunsetted? I know v1 and v2 have been since last month but, why is the v3 in the legacy docs no longer working as well?

Thanks for taking a look.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 15, 2021, 6:48pm UTC](https://community.hubspot.com/t/files-upload-api-301-redirect-error-code/33105/2 "2021-03-15T18:48:44Z")

</div>

Hey @tjoyce

Sorry I didn’t see this earlier.

This was related to TLS 1.0 and 1.1 support sunsetting.

Here is the [announcement](https://developers.hubspot.com/changelog/tls-1-and-1-11-sunset)
