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

Missing submission error codes using api.competition_submissions() #509

Open
RobMulla opened this issue Oct 3, 2023 · 0 comments
Open

Comments

@RobMulla
Copy link

RobMulla commented Oct 3, 2023

Recently (in the last few months) the api.competition_submissions() is showing blank values for these two values:

  • errorDescriptionNullable
  • errorDescription

Previously the api would return the correct error names, similar to what is on the website. For example: Evaluation Exception: Inference time cap exceeded.

Code to replicate the issue:

from kaggle.api.kaggle_api_extended import KaggleApi
COMPETITION = "competition-name" # Change to competition with errored submissions

api = KaggleApi()
api.authenticate()
for submission in api.competition_submissions(COMPETITION):
    r = vars(submission)
    # These are always blank even if there is an error code on the website
    print(r['errorDescriptionNullable'], r['errorDescription'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant