Nimal S

Nimal S

I am using the vimeo-php-lib and for the $vimeo->getRequestToken() request I get the following response.
Array ( [401_Unauthorized_-_Invalid_timestamp_-_The_oauth_timestamp_passed_is_either_too_far_in_the_past_or_in_the_future__Vimeo_thinks_the_current_time_is_1266433918] => )

The request url is vimeo.com/oauth/request_token?oauth_consumer_key=6c418e14997b3eff0406b52a68e1df10&oauth_version=1.0&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1266434155&oauth_nonce=6893478ae265559ce8a617d094f407fc&oauth_callback=oob&oauth_signature=NCpKCpzlL6PONrt9pH91tatpZu4%3D&format=php

I've been trying to figure out what's wrong, but I haven't been able to solve it. The timestamp on the request seems to be correct and not very different from the one on the response.

Please help me on this as I'm new to using vimeo API.

Thanks.

Brad Dougherty

Brad Dougherty Staff

Most likely your server's time is incorrect. We only accept timestamps that are within a specific range close to the current time.

Everton Rosa Associados

Everton Rosa Associados Plus

time server incorrect? my server is hosted in Brazil, the API don´t have a control of the midgap between the countries?

sabih hida Tahir

sabih hida Tahir

thanks one more issue is i have got this error while uploading Encountered an API error -- code 302 - Invalid / expired token

Nimal S

Nimal S

Thanks Brad for the quick reply...

I'll see how I can fix that (won't be able to change the server's time, but I think I'll be able to change the timestamp sent in the request).

Nimal S

Nimal S

I was able to fix this by manually adding 3 seconds to the server time and then it works...!

Scott Arneill

Scott Arneill

Hi I'm having this issue trying to upload a video I just made on iMovie....I don't even know what you mean by 'server timestamp'. Is there any way to just let me upload the video?

Patricium Films

Patricium Films Plus

Not sure what they mean by "correct" but I was having the "o_auth_timestamp error" that said the time was incorrect and all I did was went in to System Pref on my MacBook and set the time to auto update "Apple time" and it worked. The difference was literally 4 mins from what was there when I manually set it, but it worked straight away after making that adjustment. Hope this helps someone!

Christian Parkinson

Christian Parkinson

I've just had to do the same thing - I thought I was fairly net savvy but this one threw me! Thanks for "apple time" tip

John Deblois

John Deblois

I love all of you especially to the guy who brought this problem up and to everyone who helped solve it. You guys are all the best. Life is good.

iaegorova

iaegorova

Perfect! Patricium Films, thanks a lot!!!

Helen Jackson

Helen Jackson

401 Unauthorized - Invalid timestamp - The oauth_timestamp passed is either too far in the past or in the future. Vimeo thinks the current time is 1323271395

when i try to upload from iMovie. I have changed the system time to apple time and still no joy. I am trying to upload my students work - any advice?

bbnnt

bbnnt Plus

Great to end up on this one… was so stuck !
To mention, as tumblr dev might be close to the vimeo one, this issue solved the problem for accessing this other provider too.

This conversation is missing your voice. Please join Vimeo or log in.

Forums

Forum Rules

  1. Be nice

    Even if you disagree with someone, keep it civil.

  2. Stay on topic

    If it’s not relevant, leave it out or start a new thread.

  3. Don’t Spam

    Re-re-re-re-posts drive us crazy.

  4. Respect the Staff

    We were members once, just like you.

+ Learn more

Our Support Team

  • Mark Mark
  • Ian Ian
  • Tommy Tommy
  • Darnell Darnell
  • Zena Zena
  • Rebecca Rebecca

We’re here to help 10am–6pm Eastern, Monday–Friday.