I'm trying to create a proxy flow that validates an Apigee token and creates a JSON response with the values from the token.
When I make a request to the endpoint, the token is validated, but it catches an error:
"faultstring": "Unable to route the message to a Target Endpoint",
Problem is, I don't have a target endpoint for the request to go to. I've tried creating an AssignMessage policy that sets target.url to blank.
Solved! Go to Solution.
Hi Timothy,
If you want a request message does not need to forwarded to the targetEndpoint, then you can define a null RouteRule.
Example: <RouteRule name="noroute"/>
Apigee did not create a <RouteRule/> when I created my flow. Therefore, I needed to add the following in the proxy endpoint:
<RouteRule name="{FlowName}"> <Condition>{FlowCondition}</Condition> </RouteRule>
Hi Timothy,
If you want a request message does not need to forwarded to the targetEndpoint, then you can define a null RouteRule.
Example: <RouteRule name="noroute"/>
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |