Foliovision › Forums › FV Player › Troubleshooting › Vimeo access token appears to be invalid
-
I recently started using Vimeo with my player. Initially upon setup, I got API errors with most, if not all of the videos that I added. However, since they’ve been added (i.e., for about a week), I’m seeing no new API errors. All the videos are playing fine and have always played fine. Will the error message in WP dashboard go away after a certain amount of time? Or should I still be concerned despite there being no new errors?
-
-
Hello Andrew,
The API errors seem strange to me. Are you sure you’ve followed our How to use Vimeo with WordPress guide properly?
Please check you settings and let us know.
Thanks for using our player,
JurajHello Andrew,
a valid Vimeo token is required to make sure we can obtain the video splash screens and video duration information.
Are you sure you selected the right scopes for the API key as seen on https://foliovision.com/player/video-hosting/how-to-use-vimeo -> “make sure you only choose Public, Private and Video Files scopes.”. That’s all I can tell from the error message you are getting.
Thanks,
MartinHello Andrew,
I hate these endless wp-admin notices and warnings different plugin put up too.
Please let us know if you checked step 3. of https://foliovision.com/player/video-hosting/how-to-use-vimeo#access-token-setup where it says:
“Go to Authentication tab, scroll down and click Generate Access Token. Under Generate an access token, select Authenticated (you) and make sure you only choose Public, Private and Video Files scopes.”
You can get a new API token there which will have the right scopes selected.
If that won’t help, please check Settings -> FV Player Pro -> Hosting -> Vimeo -> “Access Key” and look for a message like “There were {number} API errors” and see what you get when you click it.
We would like to add support for OAuth too.
Thanks,
MartinI already double and triple checked. Tried several different tokens, but the token warning persists. All it says in the error section is that “something strange happened.” But again, the API errors only occurred when the videos were uploaded and none have appeared since. Thus, the persistent error message across the WP dashboard seems unnecessary and bothersome. Would love an option to disable it.
Hello Andrew,
could you please share your access token with us (we won’t publish it and you can use a service like https://revealit.me too) so we can check?
But we still should rework FV Player Pro to work with OAuth and let you reauthenticate that way and get rid of the warning once and for all.
Thanks,
MartinHello Andrew,
it must be something else, the Token used in FV Player Pro Vimeo integration is only 32 characters long.
What you sent looks more like the “Client secret” for the app which is 128 characters long.
I see that in our screenshot (step 4. on https://foliovision.com/player/video-hosting/how-to-use-vimeo) that “Client secret” is shown right below that “Token” information which is actually the one which should be used:
So perhaps that’s what caused the confusion.
We will let you use Oauth for the Vimeo authorization.
Thanks,
MartinHi Martin
Same problem here, I’m pretty sure that my Token (32 characters long) is good. Followed step by step your guide and done everything, I don’t understand !
(you can see my screenshots)
Thanx for your help :)Hello Cirdec,
it says you were banned. This could happen if FV Player Pro would access the same missing Vimeo video over and over again. We cache all the API calls and make sure we do not over-use it, but we had some user with similar issue before.
When you check your first screenshot you will see there is a log of errors – please check if you recognize these videos and if they actually exist.
If some of them doesn’t exist, you should be removing it from your website and then contacting Vimeo to remove the ban.
Thanks,
Martin