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

ESI template contains unsupported detectInjection key value #36

Open
mosborne6 opened this issue Mar 14, 2019 · 3 comments
Open

ESI template contains unsupported detectInjection key value #36

mosborne6 opened this issue Mar 14, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@mosborne6
Copy link

mosborne6 commented Mar 14, 2019

When pulling down an existing config to create a new pipeline (via CLI), it's created an ESI.json template based on the ESI rule as expected. However, validation checks warn of an unknown/unsupported value when saving the pipeline environment or attempting to promote it...

"type": "https://problems.luna.akamaiapis.net/papi/v0/validation/unknown_attribute",
"errorLocation": {
"template": "templates\ESI.json",
"variables": [],
"location": "behaviors/0/options/detectInjection",
"value": false
},
"detail": "The behavior 'ESI (Edge Side Includes)' does not have detectInjection."

Removing this key:value pair from the JSON template resolves.
I'm guessing this may actually lie in Property Manager API, rather than the Pipeline itself?

Thanks!
ESI JSON

@humanshield314
Copy link
Contributor

Yes, this might be an issue directly with property manager itself unfortunately.

@lkowalsk-akamai-com lkowalsk-akamai-com added the bug Something isn't working label May 27, 2022
@ddcrjlalumiere
Copy link

Having a very similar problem, despite these values already being set in the WebUI... Even just a noop merge with no changes produces this.

    {
        "type": "https://problems.luna.akamaiapis.net/papi/v0/validation/unknown_attribute",
        "errorLocation": {
            "template": "config-snippets/main.json",
            "variables": [],
            "location": "rules/behaviors/8/options/logEdgeIP",
            "value": false
        },
        "detail": "The behavior '`Log Request Details`' does not have logEdgeIP."
    },

@wzagrajcz
Copy link

Hello,
Can You please provide any details how to reproduce this issue? What configuration needs to be already present before running the command? What operation/command You run that produces the error?

Thanks and Regards,
Wojciech

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

5 participants