csharp-sparkpost icon indicating copy to clipboard operation
csharp-sparkpost copied to clipboard

Sparkpost EU suppression generates 403 error

Open jvlemmings opened this issue 7 years ago • 1 comments

Hi,

I would like to use Sparkpost EU. I create my client as follow:

return new Client(API_KEY, "https://api.eu.sparkpost.com");

Sending out emails works fine, but It generates following error when I try to get my suppression list.

Response: 403 Forbidden. Content: {"errors": [ {"message": "Forbidden."} ]}

Can you guys help me with this?

Thx

jvlemmings avatar May 22 '18 08:05 jvlemmings

Hi,

You have to sign in into your SparkPost account, go to Settigns > API Keys > Click on your API key and there edit permissions for the API Key (ie. allow it to work with Suppression lists).

mralj avatar Jul 30 '18 14:07 mralj