我遇到了一个错误,无法找到绕过它的方法 - 它完全阻止了我的进步。如何通过 Python 使用 SOAP 访问此 API?
import zeep
endpoint_soap = 'http://api4.ibmmarketingcloud.com/SoapApi?wsdl'
client = zeep.Client(endpoint_soap)
我得到的错误是 ValueError:
....
File "src/lxml/etree.pyx", line 1826, in lxml.etree.QName.__init__
File "src/lxml/apihelpers.pxi", line 1626, in
lxml.etree._tagValidOrRaise
ValueError: Invalid tag name 'AGGREGATE_SUPPRESSIONS '
蟒蛇 3.6