alibaba / alibaba/funcraft

Invalid argument in body when deploy function

Open
#1,040 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Hi there I'm pretty new to using funcraft I installed the npm package for this. As soon as I deploy I get an invalid argument error i have enabled the debug mode.

` lambda request body: { description: 'test http trigger python37', role: 'acs:ram::52667912558*****:role/aliyunfcgeneratedrole-ap-southeast-5-python37-demo', logConfig: [Object], vpcConfig: [Object], nasConfig: [Object] } `

I dont know whats going wrong with it. need some help. is this some problem with the binary?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the deployment with the npm-installed Funcraft package and debug mode enabled, using the reported Python 3.7 HTTP trigger configuration. Compare the emitted lambda request body with the resulting invalid-argument error; done means the deployment succeeds or the rejected argument is identified and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.