You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I've now tested in both Python code and Postman with the same error. The above initial issue is via postman.
I copy/pasted the Python code exactly from the documentation and removed the payload items I do not need to modify. Again, it appears that "site_id" is not the only required element as stated in the docs:
I should note that I also have a 'Authorization' in the header as well with my bearer token. I can confirm that GET requests work fine, but PUT is where the issue lies. So I can rule out authentication issues.
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.
The text was updated successfully, but these errors were encountered: