Actions
Bug #51157
closedReturn correct XML response when delete role fail.
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
100%
Source:
Tags:
sts role backport_processed
Backport:
octopus pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
When deletes role fail, the client receives:
<DeleteRoleResponse> <ResponseMetadata> <RequestId>tx000000000000000308aec-0060c0799f-2658b-cn_east2</RequestId> </ResponseMetadata> </DeleteRoleResponse> <?xml version="1.0" encoding="UTF-8"?> <Error> <Code>DeleteConflict</Code> <RequestId>tx000000000000000308aec-0060c0799f-2658b-cn_east2</RequestId> <HostId>2658b-cn_east2-zg_cn</HostId> </Error>
and can not parse XML response.
If the role's perm policy map is not empty, deleting operation will fail because of CONFLICT and return error message, but should not return the message used for success.
Actions