You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, huge thanks for creating this awesome tool!
Describe the bug
I am surprised no one else reported this issue yet.
I tried to use download command and encountered the error below with multiple nanodegrees.
2021-01-15T10:39:24.723Z [info]: Start downloading Nanodegree xxxx from Udacity API
✔ Get Nanodegree xxxx information
2021-01-15T10:39:25.027Z [info]: You're authorized to download version 1.0.0, locale en-us of Nanodegree xxxx
✖ Get Nanodegree xxxx information
2021-01-15T10:39:25.115Z [error]: Failed to download course. See error below:
[
{
"message": "Cannot query field "part_keys" on type "Cohort".",
"status": null
},
{
"message": "Cannot query field "part_keys" on type "NDUnit".",
"status": null
}
]
I tried with both old and new nanodegree IDs I had access to and had no luck with the download. I suspected a change in graphql schema of udacity nanodegree content and did the following to resolve the issue.
FIX
Downloaded the source and modified src/api/fetchNanodegree to delete part_keys from the graphql query in both cohort and ndunit. I am able to download the nanodegree locally after building the changed source.
Please update the src/api/fetchNanodegree to resolve this issue. Thanks!
The text was updated successfully, but these errors were encountered:
First of all, huge thanks for creating this awesome tool!
Describe the bug
I am surprised no one else reported this issue yet.
I tried to use download command and encountered the error below with multiple nanodegrees.
2021-01-15T10:39:24.723Z [info]: Start downloading Nanodegree xxxx from Udacity API
✔ Get Nanodegree xxxx information
2021-01-15T10:39:25.027Z [info]: You're authorized to download version 1.0.0, locale en-us of Nanodegree xxxx
✖ Get Nanodegree xxxx information
2021-01-15T10:39:25.115Z [error]: Failed to download course. See error below:
[
{
"message": "Cannot query field "part_keys" on type "Cohort".",
"status": null
},
{
"message": "Cannot query field "part_keys" on type "NDUnit".",
"status": null
}
]
I tried with both old and new nanodegree IDs I had access to and had no luck with the download. I suspected a change in graphql schema of udacity nanodegree content and did the following to resolve the issue.
FIX
Downloaded the source and modified src/api/fetchNanodegree to delete part_keys from the graphql query in both cohort and ndunit. I am able to download the nanodegree locally after building the changed source.
Please update the src/api/fetchNanodegree to resolve this issue. Thanks!
The text was updated successfully, but these errors were encountered: