This support forum is no longer in use. Please use the Cloudinary Community at 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't pass the value of result.public_id after submitting the image.


1 comment

  • Avatar
    Michal Kuperman

    Hi Aleksandr,

    After the file is uploaded to your account, the upload method would return a promise which contains an Asset with all the asset's information including the public_id, or an Error if the upload failed. 

    For example: 

    const asset = await this.$cloudinary.upload(file, {
    upload_preset: 'my_preset',
    console.log (asset);

    Let us know if you have any further questions.

    Comment actions Permalink

Post is closed for comments.