Closed prashantrahate closed 1 year ago
@prashantrahate - I think its working as expected. What the tool does - is its using the variable you use in the <Source>
attribute and recommends to add that to the <Condition>
You do not need to add .content
in the <Source>
configuration. You just need to put tokenResponse
. You can refer to this link.
Please update your ExtractVariables policy to just have the variable (excluding the .content
) and then it should work as expected. The .content
is required for the <Condition>
tag, hence the tool suggest you add that to the variable.
Got it, Thanks you @ssvaidyanathan.
Apigeelint is appending .content to the source variable, even though the variable already includes the .content suffix in its name (tokenResponse.content). Policy: Apigeelint Result:
As a result, proxy linter is producing an error message that appends
.content
twice.When the source variable is changed to
tokenResponse
, the error message from Apigeelint is displayed correctly.Is it possible to fix this issue by adding the suffix ".content" only when it is not already provided in the source?