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

powerplatform_data_record HTTP 412 when creating app user #614

Closed
mawasile opened this issue Mar 5, 2025 · 0 comments · Fixed by #616
Closed

powerplatform_data_record HTTP 412 when creating app user #614

mawasile opened this issue Mar 5, 2025 · 0 comments · Fixed by #616
Assignees
Labels
bug Something isn't working community Request or issue originated from a customer or community request resource terraform resource
Milestone

Comments

@mawasile
Copy link
Contributor

mawasile commented Mar 5, 2025

Describe the bug

I some circumstances is a record already exist, the WebAPI will return 412, in that situation we should send a correct HTTP operation.

Unexpected HTTP status code. Expected: [200 204], received: [412] 412
Precondition Failed | ***"error":***"code":"0x80040237","message":"A record
with matching key values already exists."***

Expected behavior

When receiving HTTP 412, we should send an update or send always an upsert.

Contribution

Do you plan to raise a PR to address this issue? YES

@mawasile mawasile added the bug Something isn't working label Mar 5, 2025
@mawasile mawasile added this to the P0 milestone Mar 5, 2025
@mawasile mawasile added resource terraform resource community Request or issue originated from a customer or community request labels Mar 5, 2025
@mawasile mawasile self-assigned this Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community Request or issue originated from a customer or community request resource terraform resource
Projects
None yet
1 participant