imperva / imperva/imperva-web-api-composer
API error :: "Can not create \"applyTo\" since the body parameter \"operation\" is missing"
- Dominant language
- JavaScript
- Stars
- 21
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
{"errors":[{"description":"Can not create \"applyTo\" since the body parameter \"operation\" is missing","error-code":"IMP-10015"}]}
Getting above error while updating the policy as well as putting data to IP groups as well.
Interesting thing is Apply TO section does not have any operations. I don't know how to define it.
Contributor guide
Research direction
No source file or test is named in the issue. Start by reproducing the error in the policy update and IP groups data flows, then inspect the API request generated for the Apply TO section and the missing operation parameter. Done means the affected requests no longer return IMP-10015 and the Apply TO operations are defined or clearly handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100