Save 36% for Black Friday! Learn more

All threads / Noticed Gem - Twilio is not working

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Noticed Gem - Twilio is not working

Aaron Xavier asked in Gems / Libraries

Using jumpstartpro. Setup the credentials and verified that they are correct. All other delivery methods work, but I am getting this error for Twilio

Error performing Noticed::DeliveryMethods::Twilio (Job ID: 6a072966-9bce-4abb-8c91-f48a92a81db6) from Sidekiq(default) in 344.18ms: Noticed::ResponseUnsuccessful (Noticed::ResponseUnsuccessful):

No other details as to why. Any idea how I can troubleshoot the issue?

Figured out from the debug that in addition to the def message function I also need to have a param[:message] (which is used by twiolio. Somehow I missed that this is a requirement from the docs. :(


NewEnquiryNotification.new(enquiry: @enquiry, message: "#{@enquiry.first_name} just sent an enquiry.").deliver(User.all)

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 39,609+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.