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

SIP Update schema limitation #2

Open
seanmcfeely opened this issue Dec 10, 2019 · 0 comments
Open

SIP Update schema limitation #2

seanmcfeely opened this issue Dec 10, 2019 · 0 comments

Comments

@seanmcfeely
Copy link

It appears that the case of needing to remove items from lists until nothing but an empty list remains was not considered. For example, the tags field has a minItems=1 requirement. This causes the following if we want to remove all tags from an indicator:

pysip.pysip.RequestError: {"error":"Bad Request","msg":"Request JSON does not match schema: [] is too short"}

The above is passed to pysip from the SIP server.

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

1 participant