Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Invalid Signature
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Liyan Zhao  
View profile  
 More options Feb 28 2012, 6:58 am
From: Liyan Zhao <liyan.z...@openjawtech.com>
Date: Tue, 28 Feb 2012 03:58:59 -0800 (PST)
Local: Tues, Feb 28 2012 6:58 am
Subject: Re: Invalid Signature
Here's the auth header:

OAuth oauth_token="894af69220a17b1ca31058fc03ee55de809ad3e0",
oauth_consumer_key="c9e88e98c45b948b1bb0371599f522ab60b2005b",
oauth_signature_method="HMAC-SHA1", oauth_
timestamp="1330430191", oauth_nonce="525754364720236",
oauth_version="1.0", oauth_signature="DAXjucKVlL9NiD5FktpHEyDg7kk%3D",
oauth_token="894af69220a17b1ca31058fc03ee55de809ad3e0"

Cheer,
Liyan

On Feb 28, 11:51 am, Liyan Zhao <liyan.z...@openjawtech.com> wrote:

> Thanks Thor for replying.

> I was using a third party JS library for OAuth. Since I was blocked by
> the aforementioned issue, I just switched over to using your Java API.

> The Java lib got me further. However I'm facing another issue.

> My goal is to publish user's itinerary into their TripIt account. I've
> got the OAuth stuff working, but have problems with the create api.

> I always get HTTP400 when I post my travel object to the url.

> Not sure how to attach files here, so here's my request in xml. It
> validates against the xsd posted on your api site. My client key is:
> c9e88e98c45b948b1bb0371599f522ab60b2005b
> <Request>
>     <AirObject>
>         <is_client_traveler>true</is_client_traveler>
>         <booking_site_name>Right Destinations</booking_site_name>
>         <booking_site_phone>1-800-123-456-1</booking_site_phone>
>         <booking_site_url>http://www.rightdestinations.com</
> booking_site_url>
>         <supplier_conf_num>5LRQ7N</supplier_conf_num>
>         <Segment>
>             <StartDateTime>
>                 <date>2012-03-17</date>
>                 <time>16:00:00</time>
>             </StartDateTime>
>             <EndDateTime>
>                 <date>2012-03-17</date>
>                 <time>19:35:00</time>
>             </EndDateTime>
>             <start_city_name>Dublin</start_city_name>
>             <end_city_name>Barcelona</end_city_name>
>             <marketing_airline>EI</marketing_airline>
>             <marketing_flight_number>50120</marketing_flight_number>
>         </Segment>
>         <Segment>
>             <StartDateTime>
>                 <date>2012-03-31</date>
>                 <time>16:55:00</time>
>             </StartDateTime>
>             <EndDateTime>
>                 <date>2012-03-31</date>
>                 <time>19:25:00</time>
>             </EndDateTime>
>             <start_city_name>Barcelona</start_city_name>
>             <end_city_name>Dublin</end_city_name>
>             <marketing_airline>IB</marketing_airline>
>             <marketing_flight_number>50130</marketing_flight_number>
>         </Segment>
>         <Traveler>
>             <first_name>Liyan</first_name>
>             <last_name>Zhao</last_name>
>         </Traveler>
>     </AirObject>
> </Request>

> On Feb 27, 6:08 pm, Thor Denmark <tdenm...@gmail.com> wrote:

> > Hi Liyan --

> > Are you using one of our API client libraries (available
> > here<http://tripit.github.com/api/>)
> > to connect to api.tripit.com?  If so, those should work out of the box with
> > no hassle and I recommend using them for ease of integration.  If not, what
> > library(s)/OS/platform are you using?  We can try to help you debug client
> > code to a certain extent, but no promises.  With an invalid signature
> > error, the first thing I'd need from you for a particular failure would be
> > the consumer key involved in the failure, the approximate date/time (and
> > your timezone) of the failure, and the exact oauth signature base string
> > value generated by your client oauth request generation code.

> >     /thor

> > On Mon, Feb 27, 2012 at 2:28 AM, Liyan Zhao <liyan.z...@openjawtech.com>wrote:

> > > Hi,

> > > I'm really stuck, could anyone shed light on this?

> > > Cheers,
> > > Liyan

> > > On Feb 24, 3:30 pm, Liyan Zhao <liyan.z...@openjawtech.com> wrote:
> > > > Hi,

> > > > I'm trying to integrate TripIt with my website, and have hit a
> > > > blocker.

> > > > To get an access token, I've generated a request like below:
> > >https://api.tripit.com/oauth/request_token?oauth_signature_method=HMA...

> > > > However TripIt responded with :
> > > > <Response>
> > > > <Error>
> > > > <code>401</code>
> > > > <detailed_error_code>104.1</detailed_error_code>
> > > > <description>invalid signature</description>
> > > > </Error>
> > > > </Response>

> > > > I've independently verified that the signature I'm sending is correct
> > > > by using this tool:http://developer.netflix.com/resources/OAuthTest

> > > > Any idea why TripIt thinks it's invalid?

> > > > Cheers,
> > > > Liyan

> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "TripIt API" group.
> > > To post to this group, send email to api_tripit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > api_tripit+unsubscribe@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/api_tripit?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.