function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FabienneIshimweFabienneIshimwe 

Marketing Cloud Fuel SDK Error

I have installed marketing Cloud Fuel SDK using the instructions from Github(https://github.com/salesforce-marketingcloud/FuelSDK-Python.)
I set up the environment variables:
os.environ['FUELSDK_CLIENT_ID']
os.environ['FUELSDK_CLIENT_SECRET']
os.environ['FUELSDK_ACCOUNT_ID']
os.environ['FUELSDK_AUTH_URL']
os.environ['FUELSDK_BASE_API_URL']
os.environ['FUELSDK_DEFAULT_WSDL']
os.environ['FUELSDK_SOAP_ENDPOINT']

When I run my python code, i keep getting this error:

Unable to validate App Keys(ClientID/ClientSecret) provided: {'error': 'unsupported_grant_type', 'error_description': 'Use "authorization_code" or "refresh_token" or "client_credentials" or "urn:ietf:params:oauth:grant-type:jwt-bearer" as the grant_type.', 

Any idea what i could be doing wrong?
AbhishekAbhishek (Salesforce Developers) 
Hi,

It would be better if you post this query on the Success - Salesforce Marketing Cloud page. so the experts on MC can help:

https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F9300000001pQ5CAI

I hope you find the above suggestion helpful. If it does, please mark as Best Answer to help others too.

Thanks.