Hi, we have created a custom connector and some actions to send files from sharepoint to our internal case management system through API by onprem gateway.
Everything works fine with smaller files, but when the file size exceeds 3 mb, we get error:
RequestEntityTooLarge
{
"status": 413,
"message": "The request content-length is larger than '3182218' bytes. Current: '6696239' bytes.\r\nclientRequestId: b0609d76-e922-4321-b894-8c23b63a4aa7",
"error": {
"message": "The request content-length is larger than '3182218' bytes. Current: '6696239' bytes."
},
"source": "gatewayconnector..."
}
On-premises data gateways documentation states that there's 20 mb limit on write operations: https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-onprem#considerations .
I've read that Chunking might be a solution https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-handle-large-messages#chunked-message-handling-for-connectors , but I don't understand how to use this with our custom connector and actions.