'Calling the invoke API action failed with this message: Network Error
I’m trying to send a large parquet file to RDS Postgres using Lambda. When I try to test the lambda function. I’m facing the below error:
Calling the invoke API action failed with this message: Network Error
I tried sending with limited rows, I haven’t faced any issue but when I tried to send the whole file which is of 300 mb, then I’m getting the above error.
Can someone help me with this?
Solution 1:[1]
I got the same error, which was weird because it was working fine for very small files. I tried with a larger file (only 5mb), and got the error message.
Solution: check the memory allocation for the lambda function. I was using the standard minimum (128mb). Changed it to 1gb, it worked fine. The error message is horrible.
Solution 2:[2]
I get this error every time I set up a Lambda, and then it disappears over the space of a day. Not sure why though.
Solution 3:[3]
Update your browser to latest version. Some browsers with additional built-in features may block necessary script on web page.
Solution 4:[4]
I had this problem when the Lambda function was inside a VPC and couldn't mount my EFS volume via File System Config. This was with a totally empty new function, no code yet.
No solution yet but that might get you started down the correct path.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Daniel R Carletti |
Solution 2 | martinedwards |
Solution 3 | ??????? ??????? |
Solution 4 | four43 |