For the last week or so, I haven't been able to distribute my package -- I always get the following error:
Packaging failed. HTTP status: 400
So besides the obvious question of "how can I fix this?", I have two other related questions:
- How can I see more details about this error?
- How can I distribute a package on my local machine (with no use of the distribution services)?
2 Answers
Titanium appears to have arbritrary limits for the number of files included and the overall size of the uploaded package (they are detailed in another thread on here somewhere).
I spent a while trying to work this out and found that making a copy of the project and deleting all the '.git' dirs solved the problem (they usually contain 100+ files if you commit a lot).
hi Louis,
you can use e.error to check the error like this
xhr.onload = function() { if(xhr.status == 400) { alert(e.error); } }
Your Answer
Think you can help? Login to answer this question!