AWS IoT SDK v2 python - basic_discovery.py #411
Answered
by
jmklix
ShahSaloni19
asked this question in
Q&A
-
How to resolve the above error? |
Beta Was this translation helpful? Give feedback.
Answered by
jmklix
Mar 1, 2023
Replies: 3 comments
-
Which version of the sdk are you using? Did you edit the sample at all? It is saying that the amount of arguments is wrong. You can try removing the optional ones. discovery_client = DiscoveryClient(
io.ClientBootstrap.get_or_create_static_default(),
socket_options,
tls_context,
cmdUtils.get_command_required("region")) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ShahSaloni19
-
Yes, version was the issue. Updated and it is working. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which version of the sdk are you using? Did you edit the sample at all?
It is saying that the amount of arguments is wrong. You can try removing the optional ones.