In that menu, increase the limit value to upload attachments, according to the size of attachment that is being uploaded
This is not related to the Xray REST API.
Test Execution#ImportExecutionTestResults