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

Error post request device-document #33

Closed
strelez13 opened this issue May 13, 2023 · 2 comments
Closed

Error post request device-document #33

strelez13 opened this issue May 13, 2023 · 2 comments

Comments

@strelez13
Copy link

strelez13 commented May 13, 2023

Netbox version 3.5.1
Plugin version 0.6.0
I'm posting device-document 'Content-Type: multipart/form-data' to swagger-ui and getting error {
"device": [
"This field is required."
]
}

@silvije2
Copy link

silvije2 commented Jun 9, 2023

I am trying to upload document

curl --header 'Authorization: Token xxx' -F document_type="other" -F name="name" -F circuit=590 -F document=@path "https://mynetbox/api/plugins/documents/circuit-documents/"

and I got error {"circuit":["This field is required."]}

any help?

@jasonyates
Copy link
Owner

This will be fixed in 0.6.2

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

No branches or pull requests

3 participants