AuthorizationError.USER_PERMISSION_DENIED error

227 views
Skip to first unread message

stephe...@gmail.com

unread,
Mar 14, 2016, 8:28:49 AM3/14/16
to AdWords API Forum

I'm getting an error when trying to run the python get_report_fields.py script.

I have followed this process to obtain my token details but get the following error that I do not understand:



No handlers could be found for logger "suds.client"

Traceback (most recent call last):

  File "get_report_fields.py", line 53, in <module>

    main(adwords_client, REPORT_TYPE)

  File "get_report_fields.py", line 39, in main

    fields = report_definition_service.getReportFields(report_type)

  File "build/bdist.macosx-10.5-x86_64/egg/googleads/common.py", line 323, in MakeSoapRequest

  File "/Users/stephen/anaconda/lib/python2.7/site-packages/suds/client.py", line 521, in __call__

    return client.invoke(args, kwargs)

  File "/Users/stephen/anaconda/lib/python2.7/site-packages/suds/client.py", line 581, in invoke

    result = self.send(soapenv)

  File "/Users/stephen/anaconda/lib/python2.7/site-packages/suds/client.py", line 619, in send

    description=tostr(e), original_soapenv=original_soapenv)

  File "/Users/stephen/anaconda/lib/python2.7/site-packages/suds/client.py", line 670, in process_reply

    raise WebFault(fault, replyroot)

suds.WebFault: Server raised fault: '[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>']'


Thanks,
Stephen

Yin Niu

unread,
Mar 14, 2016, 10:31:09 AM3/14/16
to AdWords API Forum
Hi Stephen, 

USER_PERMISSION_ERROR occurs when the manager account you use for accessing the API is not linked to the client account specified in the request headers. 

Thanks,
Yin, AdWords API Team. 
Reply all
Reply to author
Forward
0 new messages