Skip to content

Send card doesnt work #189

Description

@pchaganti

Unable to get this to work. The error message is rather cryptic about what is missing. Anyone have any pointers?

client = HipChat::Client.new(api_token, :api_version => 'v2')

card = {
    :style => 'application',
    :title => 'My Awesome Card',
    :id => 12345 ,
    :format => "html"
}

client[roomid].send('Tester', 'Testing Card', :color => 'red', :card => card)
The request was invalid. You may be missing a required argument or provided bad data. 
path:/my-card-test/notification method:Net::HTTP::Post (HipChat::BadRequest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions