- Knowledge base
- powerGate
- Troubleshooting
Add-ERPMedia fails with "Payload Too Large" on SAP system
Description
When the cmdlet Add-ERPMedia is called to transfer binary data to a SAP system it fails with the error message "Payload Too Large" and status code 413
Cause
In SAP there is a parameter called "cm/http/max_request_size_KB", which is set to 100 Mb per default. If a request exceeds this value SAP will return the error code 413.
Solution
Contact your SAP admin and ask them to increase this value so it can handle the largest files you want to transfer.