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

Cdn Endpoint Update API cannot update the value of property originPath #9660

Open
neil-yechenwei opened this issue Jun 1, 2020 · 4 comments
Labels
Network - CDN Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@neil-yechenwei
Copy link

neil-yechenwei commented Jun 1, 2020

I am trying to update the value of property originPath to empty value with Endpoints_Update. So I set this property value as "" in http request body but it failed and threw below error message after tested. And I also tried to set it as nil in http request body but it still isn't updated to empty value. May I know is it expected?

Error message:

cdn.EndpointsClient#Update: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="Property 'Endpoint.OriginPath' cannot be set to ''. "
@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jun 1, 2020
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jun 1, 2020
@weidongxu-microsoft weidongxu-microsoft added the Service Attention Workflow: This issue is responsible by Azure service team. label Jun 1, 2020
@ghost
Copy link

ghost commented Jun 1, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @1VarunCh1, @lsmith130.

@nachakra
Copy link
Contributor

nachakra commented Jul 24, 2020

@neil-yechenwei - Can you tell me the client that you are using to update the originPath on endpoint?I tried using ARMClient- setting to empty string fails with BadRequest but null works successfully .

@neil-yechenwei
Copy link
Author

neil-yechenwei commented Jul 30, 2020

@nachakra , I am using go sdk client to update this property. It should have ability to update this property as empty value with go sdk. Seems it's a bug in go sdk. Could you have a look for this issue? Thanks.

@ghost
Copy link

ghost commented Aug 12, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cdnfdsuppgithub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Network - CDN Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

4 participants