{"action":"created","issue":{"url":"https://api.github.com/repos/cloudinary/cloudinary_npm/issues/214","repository_url":"https://api.github.com/repos/cloudinary/cloudinary_npm","labels_url":"https://api.github.com/repos/cloudinary/cloudinary_npm/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/cloudinary/cloudinary_npm/issues/214/comments","events_url":"https://api.github.com/repos/cloudinary/cloudinary_npm/issues/214/events","html_url":"https://github.com/cloudinary/cloudinary_npm/issues/214","id":373688055,"node_id":"MDU6SXNzdWUzNzM2ODgwNTU=","number":214,"title":"Unknown API key <key>","user":{"login":"DmitryGG","id":25539852,"node_id":"MDQ6VXNlcjI1NTM5ODUy","avatar_url":"https://avatars3.githubusercontent.com/u/25539852?v=4","gravatar_id":"","url":"https://api.github.com/users/DmitryGG","html_url":"https://github.com/DmitryGG","followers_url":"https://api.github.com/users/DmitryGG/followers","following_url":"https://api.github.com/users/DmitryGG/following{/other_user}","gists_url":"https://api.github.com/users/DmitryGG/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryGG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryGG/subscriptions","organizations_url":"https://api.github.com/users/DmitryGG/orgs","repos_url":"https://api.github.com/users/DmitryGG/repos","events_url":"https://api.github.com/users/DmitryGG/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryGG/received_events","type":"User","site_admin":false},"labels":[{"id":7561856,"node_id":"MDU6TGFiZWw3NTYxODU2","url":"https://api.github.com/repos/cloudinary/cloudinary_npm/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"roeeba","id":16381584,"node_id":"MDQ6VXNlcjE2MzgxNTg0","avatar_url":"https://avatars3.githubusercontent.com/u/16381584?v=4","gravatar_id":"","url":"https://api.github.com/users/roeeba","html_url":"https://github.com/roeeba","followers_url":"https://api.github.com/users/roeeba/followers","following_url":"https://api.github.com/users/roeeba/following{/other_user}","gists_url":"https://api.github.com/users/roeeba/gists{/gist_id}","starred_url":"https://api.github.com/users/roeeba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roeeba/subscriptions","organizations_url":"https://api.github.com/users/roeeba/orgs","repos_url":"https://api.github.com/users/roeeba/repos","events_url":"https://api.github.com/users/roeeba/events{/privacy}","received_events_url":"https://api.github.com/users/roeeba/received_events","type":"User","site_admin":false},"assignees":[{"login":"roeeba","id":16381584,"node_id":"MDQ6VXNlcjE2MzgxNTg0","avatar_url":"https://avatars3.githubusercontent.com/u/16381584?v=4","gravatar_id":"","url":"https://api.github.com/users/roeeba","html_url":"https://github.com/roeeba","followers_url":"https://api.github.com/users/roeeba/followers","following_url":"https://api.github.com/users/roeeba/following{/other_user}","gists_url":"https://api.github.com/users/roeeba/gists{/gist_id}","starred_url":"https://api.github.com/users/roeeba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roeeba/subscriptions","organizations_url":"https://api.github.com/users/roeeba/orgs","repos_url":"https://api.github.com/users/roeeba/repos","events_url":"https://api.github.com/users/roeeba/events{/privacy}","received_events_url":"https://api.github.com/users/roeeba/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-24T21:39:20Z","updated_at":"2018-10-28T05:38:30Z","closed_at":null,"author_association":"NONE","body":"I'm use upload_stream. This works in local machine, but doesn't work under HTTPS, throwing error:\r\n`Unknown API key <key>`\r\n\r\nI found following https://support.cloudinary.com/hc/en-us/community/posts/115000574332-Unknown-API-key-when-trying-to-use-the-HTTP-API-directly\r\nBut I do not use API endpoint directly.\r\n\r\nHow to solve this?\r\n\r\n```\r\ncloudinary.config({\r\n      cloud_name: cloudinaryCloudName,\r\n      api_key: cloudinaryAPIKey,\r\n      api_secret: cloudinaryAPISecret,\r\n    });\r\n\r\nreturn new Promise((resolve, reject) => {\r\nconst cloudinaryStream = cloudinary.v2.uploader.upload_stream((error, result) => {\r\n        if (error) {\r\n         reject(error);\r\n          return;\r\n        }\r\n        resolve(result);\r\n      });\r\n});\r\n\r\nfileStream.pipe(cloudinaryStream);\r\n```"},"comment":{"url":"https://api.github.com/repos/cloudinary/cloudinary_npm/issues/comments/433678089","html_url":"https://github.com/cloudinary/cloudinary_npm/issues/214#issuecomment-433678089","issue_url":"https://api.github.com/repos/cloudinary/cloudinary_npm/issues/214","id":433678089,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY3ODA4OQ==","user":{"login":"DmitryGG","id":25539852,"node_id":"MDQ6VXNlcjI1NTM5ODUy","avatar_url":"https://avatars3.githubusercontent.com/u/25539852?v=4","gravatar_id":"","url":"https://api.github.com/users/DmitryGG","html_url":"https://github.com/DmitryGG","followers_url":"https://api.github.com/users/DmitryGG/followers","following_url":"https://api.github.com/users/DmitryGG/following{/other_user}","gists_url":"https://api.github.com/users/DmitryGG/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryGG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryGG/subscriptions","organizations_url":"https://api.github.com/users/DmitryGG/orgs","repos_url":"https://api.github.com/users/DmitryGG/repos","events_url":"https://api.github.com/users/DmitryGG/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryGG/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T05:38:30Z","updated_at":"2018-10-28T05:38:30Z","author_association":"NONE","body":"I mixed API keys, solved, thanks!"}}
{"actor":{"display_login":"DmitryGG"}}