openwhisk-client-js icon indicating copy to clipboard operation
openwhisk-client-js copied to clipboard

Unable to create trigger with feed

Open Himavanth opened this issue 4 years ago • 0 comments

I am using code from the example provided.

const name = '/whisk.system/alarms/alarm'
const trigger = 'alarmTrigger'
ow.feeds.create({name, trigger, params}).then(package => {
  console.log('alarm trigger feed created')
}).catch(err => {
  console.error('failed to create alarm trigger', err)
})

The error i get is "Resource representation is only available with these types: text/html; charset=UTF-8"

Himavanth avatar May 27 '20 08:05 Himavanth