-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to validate your Udacity token. #192
Comments
I'm having the exact same issue ! |
i am facing same problem |
facing the same problem |
having same issue any solution here |
observing the same issue, kindly look into it |
Same here |
i was finally able to fix mine. It seems the schema for the udacity api as changed. You need to locate the udacimak library installed on your pc. go into the api folder, search through the files and delete any fields that throw an error. For login that will be "fetchUdacityUserInfo.js" I'm using windows and the api files are located in this folder: "~\Continuum\anaconda3\node_modules\udacimak\lib\api" |
@amoat7 yes it works, at least login successful. "use strict"; Object.defineProperty(exports, "__esModule", { var _config = require("../config"); var _ = require("."); /**
|
@amoat7 did you change all the files, if yes can you share the files? Cant download after login also. |
Hi guys replace the files in your ~\node_modules\udacimak\lib\api folder with these files (api.zip). You will have to find a way to locate your node modules folder as it differs for most systems. I made changes to the code and they work fine for me. You can first make a backup of your old files before replacing. |
sure thanks so far it is working for me. |
Thank you so much @amoat7 . I replaced the files in |
@amoat7, thank you so much! |
Yes it's solved.... Thanks @amoat7 |
Yes definitely that solved the issue Thanks @amoat7 |
Thanks a lot, @amoat7. |
hey @amoat7, can you please provide us any hint on how to install udacimak, as it's not installing any more? |
doesn't work for me tried today. I think they changed the response structure again. |
i have the same issue |
Do you resolve the problem? |
@nenericamarius Tried this, doesn't work. Produces the same errors after removing Python. |
@nenericamarius Thanks for your input. But since the installation fails, it doesn't create a udacimak folder in node_modules. And even if you remove package-lock.json, it will throw up an error since it doesn't know where to load the packages from. But I'm a novice with npm and node, maybe I misunderstood what you're saying. |
Try to install with yarn
…Sent from my iPhone
On May 3, 2021, at 8:46 AM, Rohit ***@***.***> wrote:
hey @amoat7<https://github.com/amoat7>, can you please provide us any hint on how to install udacimak, as it's not installing any more?
[image]<https://user-images.githubusercontent.com/24620184/116125064-f76b5100-a6bc-11eb-9aa7-79c310f93b3d.png>
@GhaziXX<https://github.com/GhaziXX> first uninstall python (you can reinstall later), after that in terminal npm remove -g udacimak && remove -g youtube-dl && npm install -g udacimak
@nenericamarius<https://github.com/nenericamarius> Tried this, doesn't work. Produces the same errors after removing Python.
Delete in your user directory the dir "node_modules" and file "package-lock.json". After that execute: npm install
@nenericamarius<https://github.com/nenericamarius> Thanks for your input. But since the installation fails, it doesn't create a udacimak folder in node_modules. And even if you remove package-lock.json, it will throw up an error since it doesn't know where to load the packages from.
But I'm a novice with npm and node, maybe I misunderstood what you're saying.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#192 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKEHYC4ZALJTN7PR3BFLKN3TL2SJPANCNFSM4YM7XRZA>.
|
maksimshepin@Maksims-MacBook-Pro ~ % udacimak login no luck after replacing all files in API folder - same error - please help |
Please create a PR for this fix please or fork |
It worked for me. Thank you so much |
no luck after replacing all files in API folder - same error - please help |
Same here, no luck after replacing all files in the API folder - same error! Please help! |
Guys the workaround is instead of replacing the api.zip replace in the node module, here is the directory that I have used and it will definitely help you out replace the whole node module, remember one thing when you extract there will be node_module inside node_module so copy the second node module folder with all the files like I can say either extract in another directory and directly copy in your node module location: https://drive.google.com/file/d/1FwqodHIRIedyb_Z3s8os53UfLDxqB5AL/view?usp=sharing |
@SJ029626 , are you able to download youtube videos? using this modules I can download everything expect youtube videos. |
@nikitow1 yes there is a dll file which is missing from system32 folder in c drive on your side if X32 architecture otherwise from syswow64 if x64 architecture and that file is this: https://www.dll-files.com/msvcr100.dll.html . You can download from here. |
@SJ029626 oh! I am mac user, I am not using windows. |
@nikitow1 still there is a file missing and that is the reason of videos not being getting downloaded. check for the mac thing and post it here if worked out for you :) |
works like a charm |
|
@GhaziXX I had same issues. I updated my npm and node versions then reinstalled youtube-dl (I set my default python version for npm to be 2.7 with this command |
Fixed #192 - by @amoat7 - #192 (comment) |
@amoat7 You can use |
here is the fix that helped me #230 (comment) |
Describe the bug
Hi,
Both using Method 1 (login: username and password) and Method 2 (settoken), I am getting the following error:
✖ Validate Udacity authentication token via Udacity API
2021-03-01T17:29:19.377Z [error]: Failed to validate your Udacity token. Please try again. Here's the error message: [ { "message": "Unknown argument "include_free_preview" on field "nanodegrees" of type "User".",
"status": null },
{"message": "Cannot query field "version_upgrade_details" on type "Nanodegree".",
"status": null }
]
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The expectation was that the token or login will be validated
Udacimak Log
no .log file was found
Desktop (please complete the following information):
Course Information
The text was updated successfully, but these errors were encountered: