internetarchive / internetarchive/openlibrary

IA Import failing incorrectly with "identifier not found"

Open
#13,244 3 comments 0 reactions 1 assignee Claimed by @comaeclipse View on GitHub
Affects: Server Lead: @cdrini Module: Import Module: Memcache Needs: Breakdown Needs: Review Assignee Needs: Triage Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

### Problem

This specific IA id is failing with a surprising error.

Image

### Reproducing the bug

1. Go to https://openlibrary.org/import/preview?source=ia%253Agraphicdesign0000tapp
2. Optionally enable the debug parameter on the form
3. Click "Preview import"

* Expected behavior: it should show a preview of the import
* Actual behavior: it errors with `BookImportError ('invalid-ia-identifier', 'graphicdesign0000tapp not found')`

### Context

- Browser (Chrome, Safari, Firefox, etc):
- OS (Windows, Mac, etc):
- Logged in (Y/N):
- Environment (prod, dev, local): prod

### Breakdown

Implementation Details (for maintainers)

#### Requirements Checklist
* [ ]

#### Related files

*

#### Stakeholders

*


#### Instructions for Contributors

- Please [run these commands](https://docs.openlibrary.org/developers/tools/git.html#working-on-your-branch) to ensure your repository is up to date **before** [creating a new branch](https://docs.openlibrary.org/developers/tools/git.html#making-changes-and-creating-a-pull-request) to work on this issue and **each time after** pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.