Coursera Postman returns fault. Course 2 Lab: Test Your Proxy

Not applicable

I am going trough Coursera course for ApiGee.
In the second lab of course 2 when I execute the GET/products/{id}
in response I get:

{

"fault": {

"faultstring": "The Service is temporarily unavailable",

"detail": {

"errorcode": "messaging.adaptors.http.flow.NoActiveTargets"

}

}

}
Could someone help me understand where I could have an mistake?

1 5 361
5 REPLIES 5

@Martins Vitols

Looks like your target server is not setup correctly. Can you please confirm (in trace) that the request is being sent to the correct target URL ? Also can you please confirm that the target URL is up and running ?

Not applicable

You can resolve this ? i have the same problem.

Regards

Not applicable

The solution is in the environment setup of target server. Should be without https//

Navigate to Admin>Environment>Target servers

Be sure to change environment from Prod to Test

Edit the target server from


https://apigee-developer-trainin-XXXXX.firebaseio.com/

(xxxx = variable for you)

to


apigee-developer-trainin-XXXXX.firebaseio.com

The rest you can leave as is.

Should be working now.

This set me back a couple of hours google-ing etc trying to fix this.

Yes thats right. While passing the firebase info to the setup script, you should only pass the the hostname (without the protocol) as mentioned in the example

In my case, I am getting the proper response for the request. But, the above mentioned error occurs sometime (errorcode 'messaging.adaptors.http.flow.NoActiveTargets'). Approximately, its occurring once per 5 request. Do you have any comment on my scenario please?