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: HTTPError: 413 Client Error: Request Entity Too Large for url: https://ia-sandbox.wikibase.cloud/w/api.php #358

Closed
dpriskorn opened this issue Dec 2, 2022 · 4 comments
Labels
bug Something isn't working wikibase api

Comments

@dpriskorn
Copy link
Collaborator

dpriskorn commented Dec 2, 2022

image
user story #359
This bug appeared when trying to import the articles “China” with >500 references.
The affect of this bug is that all articles with more than 500 references cannot be imported.

@dpriskorn
Copy link
Collaborator Author

See #369

@dpriskorn
Copy link
Collaborator Author

fix found: workaround by splitting the list of references in two at 500 and upload the first 500 with WBI and the rest of the references with wbcreateclaim by calling mediawiki_api_helper function.
The result is that we will send 1 request for the first 500 references and 1 for each one after that. With an imagined total of 1000 references that results in 1+500 requests in total = 501.

@dpriskorn dpriskorn moved this from Next sprint to Todo this sprint in Internet Archive Reference Inventory Dec 5, 2022
@dpriskorn
Copy link
Collaborator Author

Set priority to low since it only affects a handful of articles.

@dpriskorn
Copy link
Collaborator Author

abandoned, we don't work with Wikibase right now

@github-project-automation github-project-automation bot moved this from Save for future sprint to Done in Internet Archive Reference Inventory Jan 23, 2023
@dpriskorn dpriskorn moved this from Done to Abandoned in Internet Archive Reference Inventory Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wikibase api
Projects
Status: Abandoned
Development

No branches or pull requests

1 participant