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

paloaltonetworks: parsing the error response #560

Closed
1 task done
tombuildsstuff opened this issue Jul 25, 2023 · 0 comments · Fixed by #586
Closed
1 task done

paloaltonetworks: parsing the error response #560

tombuildsstuff opened this issue Jul 25, 2023 · 0 comments · Fixed by #586

Comments

@tombuildsstuff
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Service Used

paloaltonetworks

API Versions Used

2022-08-29

Description

The API Response looks like we should have all the information we need to parse the API Response, so we should fix this bug:

polling failed: the Azure API returned the following error:
        Status: "Unknown"
        Code: "internal-error"
        Message: "Couldn't parse Azure API Response into a friendly error - please see the original HTTP Response for more details (and file a bug so we can fix this!)."
        Activity Id: ""
        ---
        API Response:
        ----[start]----
        {"id":"/providers/PaloAltoNetworks.Cloudngfw/locations/NORTHCENTRALUS/operationStatuses/453e3341-87bd-4ca8-a134-73fe7ed7f16e*53EB56B7EF5D33B0DAC9ED1C0FBB8E30154AB9D7F3D5D139B1A5CC73A765683E","name":"453e3341-87bd-4ca8-a134-73fe7ed7f16e*53EB56B7EF5D33B0DAC9ED1C0FBB8E30154AB9D7F3D5D139B1A5CC73A765683E","resourceId":"/subscriptions/XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/acctestRG-PAN-230725055238618023/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/testAcc-palrs-230725055238618023","status":"Failed","startTime":"2023-07-25T06:04:40.2415965Z","endTime":"2023-07-25T06:06:06.9699098Z","error":{"message":"Outbound Trust/Untrust certificate can not be deleted from rule stack SUBSCRIPTION~XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX~RG~acctestRG-PAN-230725055238618023~STACK~testAcc-palrs-230725055238618023 as associated rule list(s) already has SSL outbound inspection set with status code BadRequest"}}
        -----[end]-----

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant