Skip to content
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

Getting ValidationError for the Sku property is null running az apic service update #25

Closed
hellyzh opened this issue Apr 24, 2024 · 3 comments
Labels
bug Something isn't working P0 service team

Comments

@hellyzh
Copy link

hellyzh commented Apr 24, 2024

Describe the bug

image

Related command

az apic service update -g hlytest424 --name hlyservice424c --tags '{test:value}' --identity '{type:SystemAssigned}'

Errors

(ValidationError) The Sku property on the given model is null. A valid Sku is required to create or update an API Catalog.
Code: ValidationError
Message: The Sku property on the given model is null. A valid Sku is required to create or update an API Catalog.

Issue script & Debug output

az apic service create -g hlytest424 --name hlyservice424c --tags '{test:value}' --identity '{type:SystemAssigned}'
(ValidationError) The Sku property on the given model is null. A valid Sku is required to create or update an API Catalog.
Code: ValidationError
Message: The Sku property on the given model is null. A valid Sku is required to create or update an API Catalog.

Expected behavior

Pass

Environment Summary

azure cli 2.49
apic_extension-1.0.0b5-py3-none-any

Additional context

No response

@hellyzh hellyzh added the bug Something isn't working label Apr 24, 2024
@juliajuju93
Copy link
Collaborator

juliajuju93 commented Apr 24, 2024

@blackchoey , @hellyzh :
I could not re-create this issue:
image

I was able to create both APIC:
image
image

@blackchoey
Copy link
Owner

Workaround by using PATCH request.

@hellyzh
Copy link
Author

hellyzh commented Apr 26, 2024

Verified

@hellyzh hellyzh closed this as completed Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 service team
Projects
None yet
Development

No branches or pull requests

3 participants