Lulu Developer Forums

Troubleshooting: Publication API

RSS Feed

Receiving "unrecoverable error" on upload token request

    • David
    • Topic created 3 years ago

    So I'm trying to request an upload token in order to upload a file, and I'm receiving this JSON string:

    {"error_value": "An unrecoverable error was encountered.", "error_type": "Exception"}

    This arrives after posting "auth_user", "auth_token" and "api_key" values to "https://apps.lulu.com/api/publish/v1/request_upload_token".

    I tried posting with multipart and without, and either way I get the same result.

    Any clues? I did notice that leaving out any key/value pairs (auth_user, auth_token, api_key) gives different results, generally "not authorized" sorts of stuff. This is not unexpected, because I believe these are the values that need to be included, from having looked at the documentation.

    Thanks!

    Message edited by David 2 years ago

  1. Ryan Bloom3 years ago

    Can you send me the code that you are using to generate this error? I don't need the api_key or auth_user, so you can just stub those out. I could also help diagnose the issue if you can send me the exact JSON that you are POSTing to the request_upload_token endpoint. My goal for the next few weeks is to build out our documentation to include sample requests that work for all APIs, which should make a lot of these problems much easier to diagnose.

    Thank you,
    Ryan

  2. David2 years ago

    Ryan,

    This was a double-posted request - see the one that Josiah helped me with here http://developer.lulu.com/forum/read/89973 - we did resolve this problem!

    Thanks!

[ Page 1 of 1 ]