-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Hi
simple example:
from stackit.iaas.api.default_api import DefaultApi
from stackit.core.configuration import Configuration
# Create a new API client, that uses default authentication and configuration
config = Configuration(
service_account_key_path=sa_cred_path,
region="eu01",
)
client = DefaultApi(config)
print(client.list_project_nics(
project_id=project_id,
))fails with
name
Value error, must validate the regular expression /^[A-Za-z0-9]+((-|_|\s|\.)[A-Za-z0-9]+)*$/ [type=value_error, input_value='', input_type=str]```
and this happens when nic name is empty - which is default for system nics like dhcp server and meta data server
regards
Marzl
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
mhenselin commentedon Mar 25, 2025
proposed change
file: stackit-sdk-python/services/iaas/src/stackit/iaas/models/nic.py
rubenhoenle commentedon Oct 15, 2025
Hi @mhenselin,
this seems to be fixed with the latest SDK version on our side. So we will close this issue for now.
Feel free to re-open this issue in case you run into any further problems.
Best reagards
Ruben from STACKIT Developer Tools team