Payload Too Large error for a 1 MB file

Operating system

Windows

Joplin version

3.1.24

Desktop version info

Joplin 3.1.24 (prod, win32)

Client ID: 041153c7b1264d22810a338662bcd6f4
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: d581264

Backup: 1.4.2

What issue do you have?

When syncing I get and error that the attachment, a jpeg file, could not be uploaded. Error 413 Payload Too Large. The file is 1 MB.
The profile max item size is Default value. If I understand correct it should be max value allowed.

Screenshots