For fulltext/inside.php requests, the doc parameter must match the original filename minus extension.
For instance, this item is called gray-diary but the original filename is GrayDiary.pdf.
Currently, we make a request like:
https://ia601306.us.archive.org/fulltext/inside.php?item_id=gray-diary&doc=graydiary&path=/33/items/gray-diary&q=manufacturing
That returns an error like:
{"error": "No hOCR or Abbyy file present"}
If we take the value of the filename at index 0 and remove the extension, we get the matching results:
https://ia601306.us.archive.org/fulltext/inside.php?item_id=gray-diary&doc=GrayDiary&path=/33/items/gray-diary&q=manufacturing