Skip to content
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

Exception when reaching limit in github api #378

Closed
devcrocod opened this issue Aug 1, 2022 · 0 comments
Closed

Exception when reaching limit in github api #378

devcrocod opened this issue Aug 1, 2022 · 0 comments
Labels
bug Installation and functionality issues

Comments

@devcrocod
Copy link
Contributor

I have made many requests to github api, after that I am trying to execute the following cell:

%useLatestDescriptors
%use dataframe

and get exception:

Failed to process '%use dataframe' command. Http request failed. Url = https://api.github.com/repos/Kotlin/kotlin-jupyter-libraries/contents//dataframe.json?ref=master. Response = {"message":"API rate limit exceeded for ****. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

java.io.IOException: Http request failed. Url = https://api.github.com/repos/Kotlin/kotlin-jupyter-libraries/contents//dataframe.json?ref=master. Response = {"message":"API rate limit exceeded for ***** (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

org.jetbrains.kotlinx.jupyter.exceptions.ReplPreprocessingException: Failed to process '%use dataframe' command. Http request failed. Url = https://api.github.com/repos/Kotlin/kotlin-jupyter-libraries/contents//dataframe.json?ref=master. Response = {"message":"API rate limit exceeded for ******. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

Is it possible in this case to import the library from cache, but with a warning that this is not the latest version?

@ileasile ileasile added the bug Installation and functionality issues label Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Installation and functionality issues
Projects
None yet
Development

No branches or pull requests

2 participants