Skip to content

TypeError: Parameter 'subscription_id' #1

@yokawasa

Description

@yokawasa

Got the following error message and the command execution failed even if subscription_id value is actually assigned as string

$ ./azuresshconfig.py
Traceback (most recent call last):
File "./azuresshconfig.py", line 341, in
main()
File "./azuresshconfig.py", line 293, in main
credentials, cconf.subscription_id)
File "/usr/local/lib/python2.7/dist-packages/azure/mgmt/compute/compute_management_client.py", line 132, in init
self.config = ComputeManagementClientConfiguration(credentials, subscription_id, accept_language, long_running_operation_retry_timeout, generate_client_request_id, base_url, fi
lepath)
File "/usr/local/lib/python2.7/dist-packages/azure/mgmt/compute/compute_management_client.py", line 63, in init
raise TypeError("Parameter 'subscription_id' must be str.")
TypeError: Parameter 'subscription_id' must be str.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions