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.
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.
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!
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
Tags
Ryan Bloom – 3 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
David – 2 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!