This content has been marked as final. Show 4 replies
Thanks for answering so fast. I can't debug on the server side but I can show what's happening on the logs of the server. As you can see below, login succeeds but when I try to upload it gives an error...
INFO,2009/12/28 16:08:06Login,Login succeeded.,admin
WARN,2009/12/28 16:08:28,The program is abnormal,Failed to retrieve the User CSV file.,admin
Edited by: javajuniordeveloper on Dec 28, 2009 7:31 AM
You can't just continue treating the server code being executed like it's a 'black box'. The server side code obviously failed and logged that (not very descriptive nor diagnosable) error message, so you know it is failing. The next step is to add better diagnostics on the server side so you can see better what you are doing wrong in the request.
Maybe your parameter name "usersCsvFile" is misspelled (so maybe the server is looking for a parameter named something else)? Maybe the path to your csv file is wrong (so no file is actually being uploaded)? The code being executed on the server side knows what the problem is, but currently it is not logging enough of the problem to communicate that to you. You need to get someone on the server side of things to make it better at error handling so it can tell you what the problem is rather than summarizing it as simply "Failed to retrieve the User CSV file"