Lulu Developer Forums

Troubleshooting: Publication API

RSS Feed

Failed to create the project: Invalid attempt to create a book without a print product.

  1. I've been trying to upload my cover and content PDF's. It was giving me an error during my createProject call that the size of my covers were wrong. I traced that down to my DPI being different than expected (apparently) then it started giving me the error: "Failed to create the project: Invalid attempt to create a book without a print product."

    What does this mean?

    Message edited by Joshua Smith 2 years ago

  2. Josiah Gore2 years ago

    This is likely a problem with how you are specifying your pricing. You need to make sure you are including the "print" product in the pricing structure. For example,

    "pricing":[
        {
        "product":"print",
        "currency_code":"USD",
        "total_price":15
        }
    ]
    
  3. Joshua Smith2 years ago

    That did it. Right under my nose. Thank you Josiah, for the quick reply!

[ Page 1 of 1 ]