cividesk / com.cividesk.email.sparkpost

This extension allows CiviCRM to send emails and process bounces through the SparkPost service.
10 stars 30 forks source link

Webhooks Error in Civicrm 4.7.15 #38

Closed sofoust closed 7 years ago

sofoust commented 7 years ago

After enabling the plugin and putting in the API information, which has all access granted to it, this is the error that I receive. SparkPost error Could not list webhooks (Sparkpost error: Permission denied. Check that the API key is authorized for request https://api.sparkpost.com/api/v1/webhooks.).

Let me know what information you need from me to help troubleshoot and patch the issue.

nganivet commented 7 years ago

sofoust - this must be an issue with your API key, please double-check that it is correct and has all permissions described in the readme.md file.

sofoust commented 7 years ago

The API key is given full rights, and works perfectly on everything else. It is still having this issue when I tried other sites with different keys. Same issue.

On Fri, Jan 13, 2017 at 5:21 PM, nganivet notifications@github.com wrote:

sofoust - this must be an issue with your API key, please double-check that it is correct and has all permissions described in the readme.md file.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cividesk/com.cividesk.email.sparkpost/issues/38#issuecomment-272564014, or mute the thread https://github.com/notifications/unsubscribe-auth/AFshTe4JthAxt_GfQ-CrUUDUcKZS4JD1ks5rR_jkgaJpZM4LjVoq .

nganivet commented 7 years ago

You can put some traces in the code starting at line https://github.com/cividesk/com.cividesk.email.sparkpost/blob/master/CRM/Admin/Form/Setting/Sparkpost.php#L147 to see the exact error message that is returned by SparkPost, and then contact their support to resolve it. There is nothing we can do on our end,