mozilla/pdf.js
Documented errors, page 2 of 4. Back to mozilla/pdf.js
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Max size of CID is 65,535 | exception | error | pdf, font, cid, cmap, cjk, format-error |
| doc.numPages is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, pages |
| fullscreen.transitions is read-only | exception | error | scripting-api, fullscreen, read-only, acrobat-js |
| Invalid PDF url data: either string or URL-object is… | validation | error | getdocument, url, validation |
| BinaryCMapReader.process - unknown type | exception | error | cmap, cjk-fonts, binary-cmap, corrupt-resource, version-skew |
| GetPageIndex: page has been removed. | exception | error | pdf-structure, destinations, stale-ref |
| invalid font Subtype | exception | error | pdf, font, subtype, format-error |
| doc.numTemplates is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, templates, unsupported |
| invalid first and n parameters for ObjStm stream | exception | error | objstm, corruption, format-error, xref |
| Invalid token in index. | exception | error | xfa, formcalc, parser, syntax |
| unknown operator: 12 | exception | error | font, cff, charstring, opentype, font-rendering, format-error |
| Invalid token in Form code | exception | error | xfa, formcalc, parser, syntax, eof |
| No "textContentSource" parameter specified. | exception | error | text-layer, constructor, input-validation, stream |
| Failed to fetch file | exception | error | network, cmap, font, configuration, deployment, cors |
| missing required Quantization Table. | exception | error | jpeg, quantization, image-decoding, corrupt-data |
| startCleanup: Page is currently rendering. | exception | error | rendering, cleanup, lifecycle |
| Found EOI marker (0xFFD9) while parsing scan data, possibly… | exception | warning | pdf, jpeg, dctdecode, eoi-marker, recoverable |
| Invalid offset in the ObjStm stream. | exception | error | objstm, corruption, format-error, offsets |
| invalid ACn encoding | exception | error | jpeg, progressive-jpeg, image-decoding, corrupt-data |
| Invalid rotation | exception | error | editor, annotations, rotation |
| unknown operator | exception | error | font, cff, charstring, opentype, font-rendering, corrupt-data, format-error |
| invalid object number in the ObjStm stream | exception | error | objstm, corruption, parsing, format-error |
| doc.securityHandler is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, security, encryption |
| Found DNL marker (0xFFDC) while parsing scan data | exception | warning | pdf, jpeg, dctdecode, dnl-marker, recoverable |
| Invalid style " " in PageLabel dictionary. | exception | warning | pdf-structure, catalog, page-labels, corrupt-pdf, validation, unsupported-feature |
| Error from the AI service. | exception | error | ai, alt-text, ml-manager, backend-error |
| doc.permStatusReady is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, permissions |
| Invalid field name: must be a string | exception | error | scripting-api, type-check, field-lookup, acrobat-js |
| doc.selectedAnnots is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, annotations |
| doc.title is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, metadata |
| Invalid version | exception | error | signature, binary-data, version |
| Bad uncompressed block length in flate stream | exception | error | flate, deflate, stored-block, corrupt-data, pdf-stream, format-error |
| BinaryCMapReader.process: Invalid dataSize. | exception | error | cmap, cjk-fonts, binary-cmap, corrupt-resource, validation |
| Transport destroyed | exception | error | lifecycle, destroy, race-condition, getpage, transport |
| getTextContent - ignoring circular reference | exception | error | pdf, circular-reference, xobject, malformed-pdf, text-extraction |
| Invalid data format, must be a TypedArray. | exception | error | jpeg2000, type-validation, image-decoding, jpx |
| Parent must be a dictionary. | exception | error | pdf, catalog, page-tree, corrupt-pdf, getpageindex |
| "maxp" table has a wrong version number | exception | error | font, maxp-table, font-version, truetype, opentype, format-error |
| No domain or range | exception | error | pdf, function, sampled, parsing, malformed-pdf |
| PageViewport: Invalid rotation, must be a multiple of 90… | exception | error | viewport, rotation, api-misuse, input-validation |
| doc.path is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, path, filesystem |
| Cannot start sandbox | exception | error | sandbox, wasm, scripting, csp, loading |
| Invalid crypt filter name. | exception | error | encryption, pdf-security, format-error, crypt-filter |
| Not implemented: getOperatorList | exception | error | build-config, api-usage, generic, operator-list |
| Unicode ranges Bits > 123 are reserved for internal usage | exception | error | font, os2, unicode, opentype, truetype, format-error |
| doc.producer is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, metadata |
| First argument of app.setInterval must be a string | exception | error | scripting-api, type-validation, setinterval, acrobat-js |
| Worker was destroyed. | exception | error | worker, lifecycle, destroy, binary-data |
| createImage: invalid bitmap dimensions | validation | error | image, editor, validation, bitmap, createimage |
| Invalid cFunction in AFSimple | exception | warning | aform, scripting, calculation, pdf-content |
| Invalid dictionary name | exception | error | font, cff, cff-dict, internal-api, invariant |
| Page dictionary kids object is not an array. | exception | error | pdf-structure, pages-tree, corrupt-pdf, page-retrieval |
| extractPages: sparse pageIndices. | validation | error | editor, extract-pages, validation, page-index, contiguity |
| invalid object offset in the ObjStm stream | exception | error | objstm, corruption, parsing, format-error |
| SOI not found | exception | error | jpeg, format-validation, image-decoding |
| PDFWorker.create - the worker is being destroyed. Please… | exception | error | worker, lifecycle, async, destroy, port |
| Invalid bf range. | exception | error | cmap, tounicode, font, parsing, pdf |
| mapCidRange - ignoring data above MAX_MAP_RANGE. | exception | error | cmap, font, parsing, memory, pdf |
| doc.XFAForeground is read-only | exception | error | scripting-api, xfa, read-only, acrobat-js |
| Image exceeded maximum allowed size and was removed. | exception | error | pdf, image, configuration, memory, rendering |
| Invalid type in PageLabel dictionary. | exception | warning | pdf-structure, catalog, page-labels, corrupt-pdf, validation |
| Page dictionary kid reference points to wrong type of… | exception | error | pdf-structure, pages-tree, corrupt-pdf, page-retrieval, xref |
| Built-in CMap parameters are not provided. | exception | error | cmap, font, cjk, configuration, pdf, worker |
| Catalog object is not a dictionary. | exception | critical | pdf-structure, catalog, corrupt-pdf, xref, document-load |
| Malformed CMap: expected string. | exception | error | cmap, tounicode, font, parsing, pdf |
| Required "hhea" table is not found | exception | error | font, hhea-table, required-table, font-metrics, truetype, opentype, format-error |
| Not a choice widget | exception | error | scripting-api, field, choice-widget, acrobat-js |
| Invalid codespace range. | exception | error | cmap, font, parsing, pdf |
| JpegImage.parse - unknown marker | exception | error | jpeg, format-validation, image-decoding, corrupt-data |
| Pages tree contains circular reference. | exception | error | pdf-structure, pages-tree, corrupt-pdf, circular-reference, page-retrieval |
| Unable to decode inline image | exception | error | pdf, image, decoding, inline, malformed-pdf, rendering |
| unsupported encryption algorithm | exception | error | encryption, pdf-security, format-error, unsupported-feature |
| Worker was destroyed | exception | error | worker, lifecycle, destroy, race-condition, getdocument |
| doc.sounds is read-only | exception | error | scripting, acrobat-js-api, doc-object, read-only, media, sound, unsupported |
| invalid key length | exception | error | encryption, pdf-security, format-error, validation |
| Not implemented: NetworkStream | exception | error | build-config, mozcentral, network, getdocument |
| Invalid nValue1 in AFSimple | exception | warning | aform, scripting, calculation, pdf-content |
| Invalid `workerSrc` type. | exception | error | worker, configuration, input-validation, api-misuse |
| Kids must be an array. | exception | error | pdf, catalog, page-tree, corrupt-pdf, getpageindex |
| First argument of app.setTimeOut must be a string | exception | error | scripting-api, type-validation, settimeout, acrobat-js |
| No ML. | exception | warning | editor, ml, alt-text, optional-feature |
| No valid response from the AI service. | exception | error | ai, alt-text, ml-manager, response-schema |
| Unable to load data at | exception | error | network, cmaps, fonts, cors |
| Required "maxp" table is not found | exception | error | font, maxp-table, required-table, truetype, opentype, format-error |
| There must be a private dictionary. | exception | error | font, cff, cff-compiler, cidfont, private-dict, internal-api, invariant |
| DQT - invalid table spec | exception | error | jpeg, quantization, format-validation, corrupt-data |
| Invalid `workerPort` type. | exception | error | worker, configuration, input-validation, api-misuse |
| Canvas is not specified | validation | error | canvas, lifecycle, validation |
| Please provide binary data as `Uint8Array`, rather than… | validation | error | nodejs, getdocument, binary-data |
| Unknown CMap name | exception | error | cmap, font, cjk, pdf, configuration |
| Duplicate entry in " " tree. | exception | warning | pdf, name-tree, number-tree, corrupt-data, structure |
| ML isn't enabled for alt text. | exception | warning | editor, ml, alt-text, feature-flag |
| Invalid canvas size | validation | error | canvas, validation, rendering |
| Invalid top-level pages dictionary. | exception | critical | pdf-structure, catalog, pages-tree, corrupt-pdf, document-load |
| unsupported cmap | exception | error | font, cmap, font-rendering, truetype, opentype, format-error |
| Invalid psf in AFSpecial_Format | exception | warning | aform, scripting, format, pdf-content |
| Not enough parameters. | exception | error | overlay, dom, validation, ui-utils |
| End of file inside array. | exception | error | pdf, parser, corrupt-data, truncation, structure |
| Unsupported number of components | exception | error | pdf, icc, color-space, qcms, malformed-pdf |
| Bad begin offset | exception | error | pdf, chunked-stream, range-request, transport, network, streaming |