Can not upload mp3 file from Android SDK.

Comments

1 comment

  • Avatar
    Michal Kuperman

    Hi Viral,

    Thanks for contacting us. 

    Looking at the logs on our end for this upload, It seems that the `resource_type` was set to `auto`. 
    When uploading an mp3 file the 'resource_type' needs to be set to  'video'.

    For example in Android:


    MediaManager.get().upload("file.mp3")
       .unsigned("preset")
       .option("resource_type", "video")
       .dispatch();

    Can you please double-check this setting on your end and let us know if you were able to resolve the issue? 

    Thanks,
    Michal

    0
    Comment actions Permalink

Please sign in to leave a comment.