uploading failing for one video using API, error code is 5

sujit1779sujit1779 Registered Users Posts: 46 Big grins
Hi,

I am uploading video using smugmug api. It works for all the video but fails for one particular one. Error I receive is

{
"STAT": "FAIL",
"METHOD": "SMUGMUG.IMAGES.UPLOAD",
"CODE": 5,
"MESSAGE": "SYSTEM ERROR"
}

Video is of type MPEG and size 28MB. From the response message, I am not able to understand what should I do next?

Thanks
Sujit

Comments

  • MotabaMotaba Registered Users Posts: 6 Beginner grinner
    edited March 2, 2013
    Check the headers you are sending. Make sure you have specified all required X-Smug fields as well as Content-Length and Content-Type.
  • sujit1779sujit1779 Registered Users Posts: 46 Big grins
    edited March 4, 2013
    Motaba wrote: »
    Check the headers you are sending. Make sure you have specified all required X-Smug fields as well as Content-Length and Content-Type.

    Hi don't think header may be the issue, because then in that case it shouldn't upload any other video also.
    Also the response "system.error" should mean something specific, can anyone help me on this?

    Thanks.
  • David PLDavid PL Registered Users Posts: 80 Big grins
    edited March 5, 2013
    sujit1779 wrote: »
    Hi don't think header may be the issue, because then in that case it shouldn't upload any other video also.
    Also the response "system.error" should mean something specific, can anyone help me on this?

    Thanks.

    One thing you can do is check your upload log in your SmugMug site's control panel. It will usually provide a more descriptive reason for why a specific upload failed.
  • sujit1779sujit1779 Registered Users Posts: 46 Big grins
    edited March 6, 2013
    Hi, How to access Control panel?

    Thanks.
  • David PLDavid PL Registered Users Posts: 80 Big grins
    edited March 6, 2013
    sujit1779 wrote: »
    Hi, How to access Control panel?

    Thanks.


    http://help.smugmug.com/customer/portal/articles/93323-what-do-my-account-settings-do-

    The upload log is under the Stats->Uploads ("Details" button) on the Account Settings page.
Sign In or Register to comment.