-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
404 Resource Not Found error when deleting a custom domain from a CDN endpoint #2842
Comments
@daschult - Any idea what is happening in the polling of this Long Running Operation? |
Ping. |
@praneetloke - New version of Let us know if this solves the problem. |
@amarzavery While there isn't a 404 anymore, I get this error now. It looks like this might related to this line from PR you merged? Note that I removed my subscription ID from the stacktrace below. EDIT: I have tracked-down this problem to the latest version
|
@praneetloke - Please delete the node_modules folder and re-install The issue should be fixed. Let me know if you see further issues. |
@amarzavery using those versions worked! Please feel free to close this issue. |
Describe the bug
CdnManagement.customDomains.deleteMethod
fails with a404 Not Found
error after a few seconds of waiting. It seems like thedeleteMethod
is querying for the custom domain to check if it is deleted and eventually results in a 404 after it is deleted, giving the false impression that the delete failed. But the delete itself actually succeeds.To Reproduce
Steps to reproduce the behavior:
cdnClient.customDomains.create(...)
cdnClient.customDomains.deleteMethod(...)
deleteMethod
will take a few seconds to complete, possibly because of long polling? After a few seconds, the call fails with a 404 Not Found.Here's the stringified response:
Expected behavior
The call to
deleteMethod
returns a 2xx success code.Screenshots
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: