Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Apigee Route Rule giving 403 Error

Not applicable

When i add a URL in service callout,it gives me 200 response,but when i use Route Rule and add the same URL in Target Endpoint,it gives 403 error

0 2 618
2 REPLIES 2

Not applicable

is it missing authentication headers? or by default path gets appended to your base URL in route rule -check for this

Hi,

I have added the following code

<RouteRule name="TestAdded">

<Condition>(proxy.pathsuffix MatchesPath "/getFeed")</Condition> <TargetEndpoint>TestAdded</TargetEndpoint>

</RouteRule>

<RouteRule name="default">

<TargetEndpoint>default</TargetEndpoint>

</RouteRule>

My url "https://api.xively.com/v2/feeds/238641451?key=a7N0qzp7vO4Ono45Nc1BvEswXiMzmecFAbHmM04dJYSmeql5" to which i am routing doesn't requires authentication.

But in my case what is happening a part of URL is appending again to the end which requires authentication.This is the URL which is building at the end

https://api.xively.com/v2/feeds/238641451?key=a7N0qzp7vO4Ono45Nc1BvEswXiMzmecFAbHmM04dJYSmeql5/v2/fe...

This appending is causing the issue.