ruby-rest-api icon indicating copy to clipboard operation
ruby-rest-api copied to clipboard

`send_conversation_message` errors with "Request not found"

Open Ardnived opened this issue 3 years ago • 2 comments

The most basic example of send_conversation_message fails with this error

[#<MessageBird::Error:0x00007f9642674a50
  @code=20,
  @description="Request not found",
  @parameter=nil>]

Here's the code I'm running. I've checked the accessKey, channelId, and phoneNumber. All seem correct, and at least the accessKey and phoneNumber appear to work with message_create

MessageBird::Client.new(accessKey).send_conversation_message(
  channelId,
  phoneNumber,
  type: 'text',
  content: {
    text: "This is a test"
  }
)

I suspect this might be related to https://github.com/messagebird/ruby-rest-api/pull/70, is there any idea when that PR might be merged and released? In the meantime it seems like MessageBird would be largely unusable for us on a Ruby platform.

Ardnived avatar Mar 06 '22 17:03 Ardnived

Hi @Ardnived, thanks for reporting!

https://github.com/messagebird/ruby-rest-api/pull/70 is merged, could you try again?

jalerson avatar Apr 09 '22 06:04 jalerson

I am facing this issue while sending hsm.

2kjm avatar May 25 '23 07:05 2kjm