alibaba / alibaba/funcraft

fun deploy failed with 400

Open
#895 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Does anyone know how to fix this?

```
Waiting for service demo-springboot-service to be deployed...
make sure role 'aliyunfcgeneratedrole-cn-beijing-demo-springboot-service' is exist
role 'aliyunfcgeneratedrole-cn-beijing-demo-springboot-service' is already exist
attaching policies ["AliyunOSSFullAccess"] to role: aliyunfcgeneratedrole-cn-beijing-demo-springboot-service
attached policies ["AliyunOSSFullAccess"] to role: aliyunfcgeneratedrole-cn-beijing-demo-springboot-service
Waiting for function demo-springboot to be deployed...
Waiting for packaging function demo-springboot code...
The function demo-springboot has been packaged.
PUT /services/demo-springboot-service/functions/demo-springboot failed with 400. requestid: 3aeaccdf-2121-405b-9aaa-c6c5a9d6eee4, message: Bad data in request body.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The report concerns deployment of the demo-springboot function, where PUT /services/demo-springboot-service/functions/demo-springboot returns 400 with “Bad data in request body.” Start by reproducing this deployment and inspecting the request body sent at that endpoint; done means the function deploys successfully or the invalid payload and required correction are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, 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.