2

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?

Psidom
  • 209,562
  • 33
  • 339
  • 356

2 Answers2

2

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!

Eric Urban
  • 582
  • 2
  • 7
0

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())