Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.
Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.