Reputation: 215117
Trying to use Bing Ads Python API, which uses suds
, and I am very green about this concept. I frequently encounter an error message as:
Invalid client data. Check the SOAP fault details for more information
I know this probably means my request has some data format issue. My question is how can I Check the SOAP fault details as suggested in the error?
Upvotes: 2
Views: 1666
Reputation: 1
you also might need StreamHandler to see the logs in console
logging.basicConfig(level=logging.INFO)
logging.getLogger('suds.client').setLevel(logging.DEBUG)
logging.getLogger('suds.client').addHandler(logging.StreamHandler())
Upvotes: 0
Reputation: 602
The Bing Ads API troubleshooting guide has some suggestions e.g.,
import logging
logging.basicConfig(level=logging.INFO)
logging.getLogger('suds.client').setLevel(logging.DEBUG)
Here are more details about Using SUDS with Bing Ads API.
I hope this helps!
Upvotes: 2