PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Written By
Views

How to fix MongoDB connection Error in AWS Lambda?

How to fix MongoDB connection Error in AWS Lambda?

Hello developers!

Hey, does Anyone face a MongoDB connection error/issue on AWS lambda?
and if you know the solution, please help me, guys!

my code works perfectly in my local system!

But when I try to post, using the API gateway endpoint, MongoDB disconnect! ( session time-out error )

Tech things 🛠️:

  • aws lambda
  • aws api gateways
  • serverless
  • node js [16.x]
  • azure cosmos DB ( MongoDB )

Image description

Image description

Comments (0)

loading comments