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
Getting a ApiValueError on using get_cloud_provider_regions via KafkaManagement API using the following code:
configuration = rhoas_kafka_mgmt_sdk.Configuration(
host=ocm_base_api_url,
access_token=access_token,
)
with rhoas_kafka_mgmt_sdk.ApiClient(configuration=configuration) as kafka_mgmt_client:
kafka_mgmt_api_instance = rhoas_kafka_mgmt_sdk.api.default_api.DefaultApi(api_client=kafka_mgmt_client)
kafka_regions = kafka_mgmt_api_instance.get_cloud_provider_regions(id=CLOUD_PROVIDER)
...
Error log:
rhoas_kafka_mgmt_sdk.exceptions.ApiValueError: Invalid inputs given to generate an instance of 'List'. The input data was invalid for the allOf schema 'List' in the composed schema 'CloudRegionList'. Error=ObjectReference._from_openapi_data() missing 1 required positional argument: 'href'
The text was updated successfully, but these errors were encountered:
Getting a
ApiValueError
on usingget_cloud_provider_regions
viaKafkaManagement
API using the following code:Error log:
The text was updated successfully, but these errors were encountered: