You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage/faq-zh.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,21 @@
3
3
4
4
## Fun Deploy
5
5
6
-
## FCINVALIDArgumentError: PUT /services/xxxxx failed with 400. requestId: xxxxx, message: VSwitch 'xxxxx' does not exist in VPC 'xxxxx'. The VSwith may not exist or the service role does not have 'vpc:DescribeVSwitchAttributes` permission.
6
+
### NoPermissionError: You are not authorized to do this action. Resource: acs:ram:*:xxxxxxxxxx:role/* Action: ram:GetRole
### FCAccessDeniedError: GET /services/localdemo failed with 403. requestid: a73f4640-0c8d-958c-c248-db0cc70d834e, message: The service or function doesn't belong to you
13
+
14
+
这个问题发生在 fun deploy 时配置的 accountId 与 accessKeyId 不匹配:
### FCINVALIDArgumentError: PUT /services/xxxxx failed with 400. requestId: xxxxx, message: VSwitch 'xxxxx' does not exist in VPC 'xxxxx'. The VSwith may not exist or the service role does not have 'vpc:DescribeVSwitchAttributes` permission.
Copy file name to clipboardExpand all lines: docs/usage/faq.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,20 @@
3
3
4
4
## Fun Deploy
5
5
6
+
### NoPermissionError: You are not authorized to do this action. Resource: acs:ram:*:xxxxxxxxxx:role/* Action: ram:GetRole
7
+
8
+
This problem is caused by executing `fun deploy` through the sub-user withouting grant the AliyunRAMFullAccess permission for sub-user.
9
+
10
+
The solution is to grant the AliyunRAMFullAccess permission for the sub-user or use the primary account ak.
11
+
12
+
### FCAccessDeniedError: GET /services/localdemo failed with 403. requestid: a73f4640-0c8d-958c-c248-db0cc70d834e, message: The service or function doesn't belong to you
13
+
14
+
This problem occurs when fun deploy is configured with an accountId that does not match the accessKeyId:
It is possible to write someone else's accountId or mistake the username for accountId.
19
+
6
20
### FCInvalidArgumentError: PUT /services/xxxxx failed with 400. requestId: xxxxx, message: VSwitch 'xxxxx' does not exist in VPC 'xxxxx'. The VSwith may not exist or the service role does not have 'vpc:DescribeVSwitchAttributes` permission.
7
21
8
22
This problem occurs when deploying vpc with `fun deploy`:
0 commit comments