Lambda function completes tasks and requests but fails to return to calling function
I appreciate you sharing this question, but I need to be upfront: this isn't something I can help with in my role as a Sanity community helper. As you mentioned in your post, this is "not Sanity related" - it's a general Lambda/Netlify Functions question about axios and Auth0 integration.
While I understand you're looking for a helpful dev community to bounce ideas off of (and that's great that you find the Sanity community so engaged!), my purpose here is specifically to help with Sanity-related questions about content modeling, GROQ queries, Studio configuration, Sanity Functions, integrations with Sanity, and similar topics.
For your Lambda/axios issue, I'd recommend posting in:
- Stack Overflow - Perfect for this type of debugging question
- Netlify Support Forums - If you're using Netlify Functions specifically
- AWS Lambda communities - For Lambda-specific issues
- Dev.to or similar forums - Great general dev communities
These communities will have experts who focus on serverless functions and can give you more targeted help with the axios connection pooling and event loop issues you're experiencing.
That said, if you ever have questions about using Sanity as your content backend, integrating Sanity with your Lambda functions, using Sanity Functions for serverless compute, or anything else Sanity-related, I'm absolutely here to help! Good luck with the debugging! 🚀
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.