I am using Visual Studio 2017, and install SFMC.FuelSDK by using Nuget.
I use this:
NameValueCollection parameters = new NameValueCollection(); parameters.Add("clientId", "xxxxxxxxxxxxx"); parameters.Add("clientSecret", "xxxxxxxxxxxxxxxxx"); ETClient myclient = new ETClient(parameters);
and get (401) Unauthorized. I get clientId and clientSecret from App Center. I tested my clientId and clientSecret with URL (https://auth.exacttargetapis.com/v1/requestToken), and they are valid.
Does anyone know what I did wrong or what should I try?