But when that's done it fails with "MessageBird::ServerException: Unknown response from server"
When debugging into the gem the params being sent includes key channel_id with value channelId . If set it correctly, still the code in the gemfile sends the key value with "channel_id" while it should be "channelId" and it returns with error:
0> response.body => "{\"errors\":[{\"code\":9,\"description\":\"'channelId' is a required parameter\",\"parameter\":\"channelId\"}]}\n"
Following the official tutorial for "Send your first WhatsApp template message". Does not work for Ruby SDK
Even using the latest master at the time of writting this. This commit 64bcb3f17decff8141821fb61b1bd39331095da1
It suggest copy and pasting this code
But when that's done it fails with "MessageBird::ServerException: Unknown response from server"
When debugging into the gem the params being sent includes key
channel_id
with valuechannelId
. If set it correctly, still the code in the gemfile sends the key value with "channel_id" while it should be "channelId" and it returns with error:0> response.body => "{\"errors\":[{\"code\":9,\"description\":\"'channelId' is a required parameter\",\"parameter\":\"channelId\"}]}\n"