on
10-03-2022
07:19 AM
- edited on
11-24-2022
09:24 PM
by
SophiaF
This error is recieved when running a workflow in Gallery that contains certain connector tools configured to use a DCM Connection.
<class 'AttributeError'>:'NoneType' object has no attribute 'get'
The tokens for the connection are not available or configured properly on the Server. This could be because the connection has not been synced to the Server, or because the SDK access mode is not set to allow the specific credential.
NOTE: Your Server must be configured with SDK Access Mode to "Allow" or "AllowAll" in order for connector tools using a DCM connection to run on the Server. Contact your Server Admin to enable this (see Help Documentation ). |
If you are using Alteryx Server version 2021.4 Patch 4 or below, or 2022.1 Patch 1 or below see Resolution A below. Your current version is impacted by defect TKUB-1202, TKUB-1232.
If you are using a newer version (see here for full version lists: 2021.4 , 2022.1 ), proceed.
If not, confirm that you have Synchronized your DCM connections to your Alteryx Server.
l am using Google Drive Tool 1.1.1 for Google Drive Output.
I chose setting up the connection as specified in the Google Drive tool for Custom API Application Setup. However, it asks for a credential for OAuth Tokens and then I get an mentioned in this discussion when I try to run it on the Server. What configuration do I need to do on the server? Please advise.
I have completed Resolutions A and B. My synch says "All Synchronized". In Resolution C, i don't see a checkbox for "Allow Connection for SDK". The workflow runs manually, but when scheduled still yields the error " • 'NoneType' object has no attribute 'get' "
As a workaround, i can share the googlesheet file using csv publishing on google and pick up the data with a download tool; however this requires the googlesheet to be open to the web, which is not desirable. I am running Version: 2022.3.1.450 Patch: 2, so as i understand, this should not be impacted by the listed defects.
Is there a reason why i don't see the checkbox for "Allow connection for SDK"? Has anyone got this connector working in scheduled workflows. I'm stumped.
Thank you.
d.
@ntobon is there a screenshot that goes with Resolution C for "Check the box "Allow connection for SDK".?
@BonusCup You can ignore that. New article: https://knowledge.alteryx.com/index/s/article/GDCM-532-Receive-error-class-AttributeErrorNoneType-ob...