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

Identity domain structs missing json omitempty parameter #416

Open
F21 opened this issue Mar 16, 2023 · 0 comments
Open

Identity domain structs missing json omitempty parameter #416

F21 opened this issue Mar 16, 2023 · 0 comments
Labels
IAM Issue pertains to the IAM service

Comments

@F21
Copy link

F21 commented Mar 16, 2023

This issue relates to oracle/terraform-provider-oci#1812

The structs in the identitydomains where mandatory:"false" are missing the json:"omitempty" tag.
As an example here is a non-exhaustive list of structs where the omitempt tag is missing:

This results in those fields being sent to the server as an empty string and since the server expects them to have a minimum length of 1, the operation fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IAM Issue pertains to the IAM service
Projects
None yet
Development

No branches or pull requests

2 participants