cancel
Showing results for 
Search instead for 
Did you mean: 

Fetch Error on Agentry Client

Former Member
0 Kudos

Hi Dave,


I m getting this error while Fetching data On Agentry Client. I Have created a "TravelagencyCollectionGet" step and attached this step to fetch in server exchange step.

2014/12/31 10:38:25.581: HTTP Request Error: HTTP/1.0 401 Unauthorized

2014/12/31 10:38:25.581: Error sending the Object Step HTTP request 'TravelagencyCollectionGet':

2014/12/31 10:38:25.581: HTTP/1.0 401 Unauthorized

2014/12/31 10:38:25.628: + BackEnd=HTTPXML-ODataConnection

2014/12/31 10:38:25.628: Exception during fetch server exchange step for fetch 'TravelAgencyCollection': HTTPXMLBackEndError: Error sending the Object Step HTTP request 'TravelagencyCollectionGet': HTTP/1.0 401 Unauthorized in HTTPXMLBackEndUserConnection::doObjectRequest at backEndUserFetchConnection.cpp:96

2014/12/31 10:38:25.690: *** Exception 'HTTPXMLBackEndError' caught, see events.log

2014/12/31 10:38:25.690: + Application=com.klouddata.Z_flight

2014/12/31 10:38:25.690: + User=com.klouddata.Z_flight-P1794163851

2014/12/31 10:38:25.690: + ANGEL Vine=2924111523

Regards,

Pratik

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

This seems to imply there was an authorization error when you tried to call the TravelAgencyCollectionGet on the oData.

--Bill

Former Member
0 Kudos

thanks Bill

0 Kudos

Please mark this Discussion with a Correct Answer and Helpful Answer where appropriate.  See http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why   Even if you discovered the solution without any outside contributions, it helps others to understand what the solution turned out to be.

Regards, Mike
SAP P&I Technology RIG

Former Member
0 Kudos

Hi Bill,

thanks for your reply, error gets resolved by using Basic Authorization, By Passing Basic Authorization as a request argument in TravelagencyCollection Get step.

Regards,

Pratik

Former Member
0 Kudos

Hi Chavan,

Where did you get from the basic auth values, did you use Client auth. values, or staticly pass the argument,

eg.Authorization Basic bWFXXX9nZXXXa3JvbmlrMzY=

or client Authtentication ?

Regards,

Murat

Former Member
0 Kudos

Hi Murat,

I am implementing OData service in agentry and got Authorization while creating steps using connector studio. Authorization is depends on our user ID and Password while creating OData connection in agentry.

Regards,

Pratik Chavan

Former Member
0 Kudos

I can understand your approach while creating the Step, but my question is if I want to  send User which logining the client, because same service brings different values depends the user, am I right ? How can you handle this ?

Answers (0)