Skip to content

request entity too large #1856

@BenjaminHorn

Description

@BenjaminHorn

If I try to send a json to the server, which is about 220kb. (It contains a base64 coded image as a long string). I am getting the following error:

{"errors":[{"status":413,"source":"","title":"Error","code":"","detail":"request entity too large"}]}

server/confing.json

{
  "restApiRoot": "/api",
  "host": "0.0.0.0",
  "port": 3001,
  "remoting": {
    "context": {
      "enableHttpContext": false
    },
    "rest": {
      "normalizeHttpPath": false,
      "xml": false
    },
    "json": {
      "strict": false,
      "limit": "50mb"
    },
    "urlencoded": {
      "extended": true,
      "limit": "50mb"
    },
    "cors": false,
    "errorHandler": {
      "disableStackTrace": false
    }
  },
  "legacyExplorer": false
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions