---
title: "Discussion on \"How to Upload File to API with Auth, Content Types and Size Limits\" | Hashnode"
description: "Discussion on \"How to Upload File to API with Auth, Content Types and Size Limits\". The server limit was increased from 10 MB to 100 MB, but the upload still failed with a 413 error. The problem was nginx, which was still limiting request bodies to 1 MB before they reached the app.\nT"
url: "https://hashnode.com/posts/how-to-upload-file-to-api-with-auth-content-types-and-size-limits/6aa94b596efb5ecae14d29e1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Upload File to API with Auth, Content Types and Size Limits](https://ideradevtools.hashnode.dev/how-to-upload-file-to-api-with-auth-content-types-and-size-limits?utm_source=hashnode&utm_medium=feed)

The server limit was increased from 10 MB to 100 MB, but the upload still failed with a 413 error. The problem was nginx, which was still limiting request bodies to 1 MB before they reached the app. T

Sep 15 · 9 min read · ideradevtools.hashnode.dev  
Read the article

-   [#filestack](https://hashnode.com/tag/filestack)
-   [#file-upload](https://hashnode.com/tag/file-upload)

## Written by

[Filestack Insights](https://hashnode.com/@filestackinsights)

@filestackinsights · Austin, USA

  
[View profile](https://hashnode.com/@filestackinsights)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
