The error you’re encountering indicates that the Email value is not being correctly substituted in the URL of your second aggregation operation (aggregation-2). Specifically, the URL shows a double slash (//), suggesting that the Email variable is empty or not being accessed correctly:
Url: https://abc.com/rest/v1/permission/user/name//groups/get
Understanding the Issue
- Empty Variable: The segment
user/name//groups/gethas an empty value betweennameandgroups, meaning$response.Email$is not providing a value. - Variable Scope: In the context of chained HTTP operations, accessing variables from a parent operation requires specific syntax.
Solution
Check if you have updated the response Mapping for aggregation-1 (Below is mine)
Also make sure you have updated the parent Endpoint to aggregation-1 for aggregation-2 HTTP Operation -


