I'm getting a 404 in apigee edge devjam one lesson using this endpoint "http://api.usergrid.com/apigeedemovideos/sandbox/hotels". The endpoint is good so it the configuration in Apigee Edge. what else could be the problem?

Not applicable
 
0 14 243
14 REPLIES 14

Former Community Member
Not applicable

Hi @Russell Douglas do you have any policies that are attached by any chance in the proxy which set some Authorization header that is being rejected by the back-end endpoint?

@Russell Douglas , I see it working now. Would you like to share answer with community ?

Not applicable

I have not attached any policies.The configuration is identical to the publication in Gethub for devjam 1.

Former Community Member
Not applicable

Can you share your api proxy? You can download the current revision (from the proxy editor, click Project --> Download Revision) & attach it here.

Not applicable

Anil its not working. Not sure what you're looking at.

Not applicable

Here you go and thanks in advance.rd-hotels-rev1-2016-04-27.zip

@Russell Douglas , I just deployed your proxy & called the API End point using the proxy , http://asagarnodeapp-test.apigee.net/v1/rd_hotels and it works fine. What do you mean when you say "I'm getting a 404" ? What is the request that gives you 404 ?

@Russell Douglas ,

Have you deployed API proxy to environment like "test" or "prod" ? You need to deploy API Proxy before you access same.

2576-screen-shot-2016-04-27-at-111839-pm.png

2577-capture.png

Yes.Its deployed to "test"

What is the URL you are trying to access which gives 404 ?

It fails on the "GET" verb. I think something is wrong with my environment, userid, etc....

2578-capture2.png

@Russell Douglas , Yep, you are right. Seems like it's an issue with org provisioning. If your account is new, nothing to lose, You can create a new apigee account using different email address & use same to test API Proxies.

We will keep you updated regarding what exactly is the issue with current org.

Sorry. forgot to add url "http://api.usergrid.com/apigeedemovideos/sandbox/hotels'

Ok. Thanks