No value is resolved for given XPath #768
-
I can't seem to resolve the 'No value is resolved for given XPath' error when using the plugin and calling an API with an XML response. Here's an example
This is a sample Response
I just want to get the value of the spaceId field and pass it to the next call. But I get the error in VSCode when I highlight the getspace.response.body.//SummaryResponse/spaceId variable
Can't figure out what I'm doing wrong. Appreciate any help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Found the answer after searching in the issues tabs: This works for me |
Beta Was this translation helpful? Give feedback.
Found the answer after searching in the issues tabs:
This works for me
GET https://{{API_SERVER_URL}}/v1/space?spaceId={{getspace.response.body./[local-name()='SummaryResponse']//[local-name()='spaceId']}}
Authorization: Bearer {{BEARER_TOKEN}}