Lulu Developer Forums

Troubleshooting: Publication API

RSS Feed

Error during create call

    • David
    • Topic created 1 year ago

    I'm having what appear to be intermittent (although now very frequent) errors with the create API call.

    I'm providing valid PDF files for the book contents and the cover, but am receiving the following error message:

    1. {"error_value": "Handle parameter or option of type 'document' has bad value 0", "error_type": "PDFlibException"}

    I used the same PDFs in the web-based project builder and had no trouble.

    Any suggestions about where to look next?

    Message edited by David 1 year ago

  1. Josiah Gore1 year ago

    Hmm, I'm not sure why this error would be appearing. It most likely has something to do with the processing of the cover PDF. Are you applying an ISBN to the project? If so, it may be failing while trying to put the ISBN barcode onto the cover.

    If you'd like, you can email the cover PDF you are using to api [at] lulu [dot] com and I can see if I can reproduce the error.

[ Page 1 of 1 ]