This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

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

Post is closed for comments.