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'])
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: