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.

Unknown API key from node js

Comments

2 comments

  • Avatar
    Shirly Manor

    With nodeJS, you might want to try:

    var cloudinary = require('cloudinary').v2;

    cloudinary.config({ 
      cloud_name: 'sample', 
      api_key: '874837483274837', 
      api_secret: 'a676b67565c6767a6767d6767f676fe1' 
    });

    cloudinary.uploader.upload("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", 
      function(error, result) {console.log(result, error); });


    Please let me know if that works,
    0
    Comment actions Permalink
  • Avatar
    Kazeem Onisarotu

    Hi good day,

    I've resolved the issue. Thank you so much for your help.

    Kind Regards,

    Kazeem Onisarotu.

    0
    Comment actions Permalink

Post is closed for comments.