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

Contact Association API schema incorrectly labels role as not required #6097

Closed
joewesch opened this issue Aug 12, 2024 · 0 comments · Fixed by #6102
Closed

Contact Association API schema incorrectly labels role as not required #6097

joewesch opened this issue Aug 12, 2024 · 0 comments · Fixed by #6102
Assignees
Labels
type: bug Something isn't working as expected

Comments

@joewesch
Copy link
Contributor

Environment

  • Nautobot version (Docker tag too if applicable): 2.3.0
  • Python version: 3.11.9
  • Database platform, version:
  • Middleware(s):

Steps to Reproduce

  1. Try and create a contact association via API based on provided schema:

Screenshot 2024-08-12 at 12 14 04 PM

Expected Behavior

I expected role to be required since it's required in the UI

Screenshot 2024-08-12 at 12 15 56 PM

Observed Behavior

Role is not required, but responds with error:

{
  "role": [
    "This field cannot be null."
  ]
}
@joewesch joewesch added type: bug Something isn't working as expected triage This issue is new and has not been reviewed. labels Aug 12, 2024
@lampwins lampwins removed the triage This issue is new and has not been reviewed. label Aug 12, 2024
@timizuoebideri1 timizuoebideri1 self-assigned this Aug 13, 2024
@glennmatthews glennmatthews mentioned this issue Aug 19, 2024
1 task
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants