New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marketing Cloud login fails #35
Comments
Just to reinforce it that I'm having the same problem :( |
Please note that I was finally able to resolve this issue by creating a new package in Marketing Cloud, this time making sure to uncheck the box for "Create with enhanced functionality"! |
I was having this issue too and was able to get past this error by unticking the enhanced functionality. However, from 1st August 2019 Exact Target will no longer support new apps being created using the legacy API and will be forced to use v2 with OAuth. Any plans on updating this tap to support ET's v2 api? |
Adding a "me too" here, I'm getting around it by using the legacy authentication for now also. |
I started a conversation in Slack channel with @KAllan357 but this will always be an issue now for any integration after Aug 1, 2019. Before there was a workaround by using v1 in SFMC installed packages but that isn't an option anymore. |
Any updates on this? |
@tigerjz32 @KAllan357 I just submitted a pull request #40 that will hopefully get this on the right track. I don't have any legacy keys I can use in our account, so I need this to be able to sync. |
@jmtorres thank you! Do we know when this'll get merged? |
Facing the same issue! |
Hi there, |
Is this still an open issue? I tried setting this up today and I am getting the same authentication error regarding the use of V1 rather than V2 |
* OAuth2 support enhancement (#35) and updates to the README. (#20) * Added use_oauth2 to the config.json.example file. * add a wrapper class to the FuelSDK.ET_Client so we can set refreshKey * update readme and fix pylint * typo * set singer-python as a specific version Co-authored-by: Orest Leshchyshen <orestl@freshbooks.com> Co-authored-by: nick-mccoy <nick@stitchdata.com> Co-authored-by: Kyle Allan <kyle@stitchdata.com>
Using FuelSDK-Python Version 1.2.0 Here is my code: import os os.environ["FUELSDK_CLIENT_ID"] = "xxx" import FuelSDK myClient = FuelSDK.ET_Client() print('Post Status: ' + str(response.status)) Error:
|
Issue seems to be related to #22 but I cannot create a Marketing Cloud Integration even after specifying the optional Tenant Subdomain. The error returned is "This integration is not eligible to use the legacy /v1/requestToken endpoint because the integration uses enhanced OAuth 2.0 functionality. To obtain a token for this integration, use the applicable Marketing Cloud OAuth 2.0 endpoint for authentication. For a web or public app, use /v2/authorize and then /v2/token. For a server-to-server integration, use /v2/token."
Help! There is not anything else I can configure on the integration settings to try to get this to work. Is it something in the code?
Full error message:
main - INFO Running tap-exacttarget version 1.3.0 and target-stitch version 1.8.1
main - INFO Starting tap to discover schemas: tap-env/bin/tap-exacttarget --config /tmp/tap_discover_config.json --discover
tap - INFO Starting discovery.
tap - INFO Generating auth stub...
tap - CRITICAL Unable to validate App Keys(ClientID/ClientSecret) provided: {'documentation': '', 'errorcode': 10007, 'message': 'This integration is not eligible to use the legacy /v1/requestToken endpoint because the integration uses enhanced OAuth 2.0 functionality. To obtain a token for this integration, use the applicable Marketing Cloud OAuth 2.0 endpoint for authentication. For a web or public app, use /v2/authorize and then /v2/token. For a server-to-server integration, use /v2/token.'}
tap - Traceback (most recent call last):
tap - File "tap-env/bin/tap-exacttarget", line 10, in
tap - sys.exit(main())
tap - File "/code/orchestrator/tap-env/lib/python3.5/site-packages/singer/utils.py", line 229, in wrapped
tap - return fnc(*args, **kwargs)
tap - File "/code/orchestrator/tap-env/lib/python3.5/site-packages/tap_exacttarget/init.py", line 154, in main
tap - do_discover(args)
tap - File "/code/orchestrator/tap-env/lib/python3.5/site-packages/tap_exacttarget/init.py", line 59, in do_discover
tap - auth_stub = get_auth_stub(config)
tap - File "/code/orchestrator/tap-env/lib/python3.5/site-packages/tap_exacttarget/client.py", line 47, in get_auth_stub
tap - auth_stub = FuelSDK.ET_Client(params=params)
tap - File "/code/orchestrator/tap-env/lib/python3.5/site-packages/FuelSDK/client.py", line 134, in init
tap - self.refresh_token()
tap - File "/code/orchestrator/tap-env/lib/python3.5/site-packages/FuelSDK/client.py", line 214, in refresh_token
tap - raise Exception('Unable to validate App Keys(ClientID/ClientSecret) provided: ' + repr(r.json()))
tap - Exception: Unable to validate App Keys(ClientID/ClientSecret) provided: {'documentation': '', 'errorcode': 10007, 'message': 'This integration is not eligible to use the legacy /v1/requestToken endpoint because the integration uses enhanced OAuth 2.0 functionality. To obtain a token for this integration, use the applicable Marketing Cloud OAuth 2.0 endpoint for authentication. For a web or public app, use /v2/authorize and then /v2/token. For a server-to-server integration, use /v2/token.'}
main - INFO Tap exited abnormally with status 1
main - INFO Exit status is: Discovery failed with code 1 and error message: "Unable to validate App Keys(ClientID/ClientSecret) provided: {'documentation': '', 'errorcode': 10007, 'message': 'This integration is not eligible to use the legacy /v1/requestToken endpoint because the integration uses enhanced OAuth 2.0 functionality. To obtain a token for this integration, use the applicable Marketing Cloud OAuth 2.0 endpoint for authentication. For a web or public app, use /v2/authorize and then /v2/token. For a server-to-server integration, use /v2/token.'}".
The text was updated successfully, but these errors were encountered: