serverless Questions

3

Solved

I was just trying to find a generic definition what are the differences between Microservices Lambda Functions and Serverless-Functions My goal would be to implement a „real“ Microservice on Kyma...
Sane asked 5/2, 2021 at 21:37

3

Solved

I'm using the following as a custom serverless-dotenv-plugin plugin configuration: custom: dotenv: path: .env-${opt:stage, 'local'} But what I'm really trying to get is that the environment b...
Buster asked 4/7, 2018 at 9:35

3

Solved

So as a pretext, I've got less than no idea what to do about this. I've researched for about two hours and normally I would just keep going but none of the information I've found has been useful. I...

5

Whenever I try to access serverless lambda function via POST through the browser I get the error Response to preflight request doesn't pass access control check: No >'Access-Control-Allow-Origin...

12

Solved

I have developed an application in Next.js. For the backend I have used the api endpoints configured in Nextjs which rest inside pages/api. The api end points quite often return 502(Gateway timeout...
Princeling asked 9/5, 2021 at 11:4

9

Solved

I'm currently creating a Dialogflow chatbot in nodejs and upon deploying my code I get an error message. I've attempted to uncomment most things out to just be left with the base functioning code a...
Kirven asked 2/7, 2019 at 20:36

3

Solved

Upon reading of this article which discusses the main drawback of using AWS Lambda functions, I'm trying to avoid what the author had to deal with and perform some cleanup on my own code: "Lambd...
Twofaced asked 3/10, 2019 at 13:49

5

Solved

Code Full codebase & folder structure can be seen in GitHub Here is the Swagger related route (had to make it a standalone server) // api/v1.ts import express = require("express"); i...
Raze asked 11/9, 2021 at 20:33

7

Solved

I'm using managed CloudRun to deploy a container with concurrency=1. Once deployed, I'm firing four long-running requests in parallel. Most of the time, all works fine -- But occasionally, I'm faci...
Multifoil asked 12/7, 2019 at 12:51

8

I'm using a Vercel Serverless function to handle a file upload to Digital Ocean Spaces (identical API to AWS S3). However, I am running into issues handling multipart/form-data in the request handl...
Nammu asked 16/6, 2020 at 14:54

7

I have an error Code storage limit exceeded deploy the serverless application in AWS. Total size 409 B. The error message says: An error occurred: HelloLambdaFunction - Code storage limit excee...
Tenstrike asked 7/8, 2018 at 8:45

6

Is it possible for Lambda to continue processing after returning a response like the status code is 202 then Lambda will have to call a request before ending the Lambda?
Hightower asked 14/8, 2019 at 9:27

12

Solved

I am trying to run Azure function locally on my mac with IntelliJ. I did everything, step by step in this tutorial: https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-maven-in...
Uzial asked 23/9, 2020 at 16:20

5

Solved

I have a Lambda that is generating and returning a value. This value can expire. Therefore I need to check the values validity before returning. As generating is quite expensive (taken from another...

3

Solved

Firstly, I am a newbie to AWS. I was able to edit my Lambda code in line, but I recently uploaded a zip file to it(30MB) to S3 bucket and added this zip to my Lambda from S3, and now my Lambda inli...
Gerick asked 18/4, 2019 at 19:52

2

I expect the following to log in order from top to bottom but results show that they're not in order // Azure function handler export const browseIssues = context => { context.log.info({ a: 'fi...
Aeromechanics asked 12/3, 2023 at 21:59

4

I cannot uninstall serverless. I have tried npm uninstall -g serverless but entering serverless -v after prints the version. I'm on Ubuntu Server 16.04. Running which serverless prints /usr/bin/se...
Colbert asked 7/5, 2019 at 2:5

4

Solved

I've wrote a serverless.yml to deploy some lambdas and I'm using GSI in a specific API. If I run locally using serverless-offline, it's working but I'm facing an error when deploy the lambda: Acc...
Rubbish asked 26/7, 2018 at 11:31

2

Solved

I have an independent lambda layer, the arn is retrieved using the below CLI command. aws lambda list-layer-versions --layer-name my-custom-lambda-layer --region us-east-1 --query 'LayerVersions[0]...

7

I am following the readme here: https://github.com/awslabs/aws-sam-local I have a lambda written in python 3.6 and its similar to the helloworld example here : https://github.com/awslabs/aws-sam-l...
Shulamite asked 4/1, 2018 at 22:43

4

I am using the Serverless Framework for my AWS-powered application. I've been writing a super-long serverless.yml file so far, which contains all my lambda code, resources, IAM roles, and State Mac...

2

Solved

I am using serverless to deploy AWS resources. And sometimes I get an error about how there is an existing resources so the deploy failed. This could be caused by another developer in the team depl...
Barncard asked 18/6, 2020 at 23:28

2

Solved

I have a system design like this SQS -> trigger -> Lambda -> if fails -> DLQ pre condition Lambda function using a try catch block , it won't throw any errors . Lambda function never run out of...

9

when i type serverless deploy appear this error: ServerlessError: The security token included in the request is invalid.

8

Solved

I'm not able to correctly handle CORS issues when doing either PATCH/POST/PUT requests from the browser sending an Authorization header with a Bearer token (this works correctly outside of the brow...
Erlond asked 14/4, 2020 at 20:57

© 2022 - 2025 — McMap. All rights reserved.