messagebird / ruby-rest-api

MessageBird's REST API for Ruby
BSD 2-Clause "Simplified" License
37 stars 46 forks source link

`send_conversation_message` errors with "Request not found" #71

Open Ardnived opened 2 years ago

Ardnived commented 2 years ago

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.

jalerson commented 2 years ago

Hi @Ardnived, thanks for reporting!

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

2kjm commented 1 year ago

I am facing this issue while sending hsm.