Every time I upload a file, the upload succeeds, but the actual job fails. What could be going wrong?
When your job fails as soon as you upload the file successfully, this usually indicates an issue with the uploaded file. Make sure you are doing the following -
The uploaded file should be a XML file (.xml) compressed as a ZIP (.zip) or a GZIP (.gz)
The uploaded file should follow the format as outlined here.
The requests in the uploaded file should be all of the same type and match the job that you submitted. For e.g. if you created an AddFixedPriceItem job then the file you upload should only have AddFixedPriceItem requests.
If you are making the XML request, the file needs to be sent as a MIME attachment. Here is a C# sample for reference.