Skip to content

IPSec-Proposal optional field is required when sending HTTP Post request via API #18271

Closed
@Toosaman

Description

@Toosaman

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

v4.1.10

Python Version

3.10

Steps to Reproduce

  1. Trying to send HTTP POST request to API endpoint:
    /api/vpn/ipsec-proposals/
{
'name': 'aes-192-gcm_3600',
'encryption_algorithm': 'aes-192-gcm',
'sa_lifetime_seconds': '3600'
}

Expected Behavior

Got HTTP status code 201, which means that the object was successfully created.

Observed Behavior

Got the error:

  allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
  api_version: '4.1'
  connection: close
  content: '{"authentication_algorithm":["This field is required."]}'
  json:
    authentication_algorithm:
    - This field is required.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions