Skip to content

ALB Request 对 Tag 参数的序列化处理存在问题 #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ZXiangQAQ opened this issue Dec 8, 2021 · 2 comments
Closed

ALB Request 对 Tag 参数的序列化处理存在问题 #6

ZXiangQAQ opened this issue Dec 8, 2021 · 2 comments

Comments

@ZXiangQAQ
Copy link

alb_20200616_models.ListListenersRequest
alb_20200616_models.ListServerGroupsRequest

无论传不传 Tag 参数,to_map() 方法都会先构造 result['Tag'] = [] ,然后再根据传的 Tag 参数进行填充,会导致即使不传 Tag 时,request body 都会带上一个空 Tag,阿里云会直接返回参数错误

Tea.exceptions.TeaException: Error: InvalidTag; Illegal parameter serialization format.

@ZXiangQAQ ZXiangQAQ changed the title Request 对 Tag 参数的序列化处理存在问题 ALB Request 对 Tag 参数的序列化处理存在问题 Dec 8, 2021
@shenxgan
Copy link

shenxgan commented Apr 24, 2022

有解决吗?我也遇到同样的问题:
报错信息:HTTP Status: 400 Error:InvalidServerIds; Illegal parameter serialization format. Flat format is required. Specified parameter ServerIds;

@TsinghuaDream
Copy link

当前SDK已无此问题。
pip install alibabacloud_nlb20220430==3.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants