PaloAltoNetworks / PaloAltoNetworks/pan.dev

Issue/Help with "Update Element for Associations (v3.0)"

Open
#757 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
MDX
Stars
78
Forks
88
Avg merge
5d 17h
Merged PRs (30d)
18

Description

Documentation link

https://pan.dev/sdwan/api/put-sdwan-v-3-0-api-elements-element-id/

Describe the problem

When passing in the "Required" values in the body (which is only labeled as site_id being required) and passing in the values into the body that I would like to update, I continue to get a "INVALID_JSON_INPUT" "Input JSON does not have all required attributes".

Here is my JSON body I'm trying to pass:
{
"name":"test-api",
"site_id":"############"
}
(the site_id is filled out with the real values in my API call)

Suggested fix

The documentation should be updated to reflect all of the true required values, as the site_id is clearly not the only one that is required.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Update Element for Associations (v3.0) documentation page and compare its stated required fields with the reported INVALID_JSON_INPUT response for the example body. Confirm the complete required-attribute list, then update the page so the requirements and example are accurate.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.