I am trying to upload file using strapi upload api. I get 413 error

UPDATE

The error was not in Strapi, but in my NGINX web server as proxy reverse mode.

I increased the Max Body Size from 1mb to 10mb and the problem was solved.

nginx.conf

http {
    # ...
    client_max_body_size 10M;
    # ...
}
6 Likes