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

Get App Service Plan 404 does not return an error #5407

Closed
mbfrahry opened this issue Aug 1, 2019 · 2 comments
Closed

Get App Service Plan 404 does not return an error #5407

mbfrahry opened this issue Aug 1, 2019 · 2 comments
Labels
App Services customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library.

Comments

@mbfrahry
Copy link

mbfrahry commented Aug 1, 2019

Bug Report

  • import path of package in question github.com/Azure/azure-sdk-for-go/services/web/mgmt/2018-02-01/web
  • SDK version e.g. 31.0.0
  • go version go1.12.5 darwin/amd64

Issue

I ran into an issue where I used the Get method for an app service plan and received a nil object with a 404 response but no error. I expected an error to occur because that is how the majority of this provider handles 404 errors and it's causing issues in the Terraform Azure Provider . We're implementing a workaround for now but it'd be great to get this addressed!

Reproduce

You should be able to reproduce this by doing a Get call on an app service plan that was deleted or doesn't exist

@mbfrahry mbfrahry changed the title App Service Plan 404 does not return an error Get App Service Plan 404 does not return an error Aug 1, 2019
@loarabia loarabia added App Services customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. labels Aug 1, 2019
@triage-new-issues triage-new-issues bot removed the triage label Aug 1, 2019
@loarabia
Copy link

loarabia commented Aug 1, 2019

Hi @mbfrahry It looks like the team will merge the pull request you wrote up to help you work around this temporarily. I'm leaving this to track the real fix.

@ghost
Copy link

ghost commented Sep 11, 2019

Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
App Services customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

3 participants