Calling the invoke API action failed with this message: Network Error

Viewed 9557

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?

4 Answers

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.

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.

Update your browser to latest version. Some browsers with additional built-in features may block necessary script on web page.

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.

Related