the-refinery/sparkpost_rails

SparkPostRails::DeliveryException ([{"message"=>"Unauthorized."}])

Opened this issue · 1 comments

I'm getting this message when I try to send an email:

Completed 500 Internal Server Error in 1174ms (ActiveRecord: 40.8ms)
SparkPostRails::DeliveryException ([{"message"=>"Unauthorized."}])

but the main problem is when I try with same data after some time it resolves automatically. I don't know what to do with this any suggestions how can I solve this?

Check API Key Permissions!!