Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid client data. Check the SOAP fault details for more information. TrackingId: 905027f5-fc4e-44ab-9af4-58af8ced8dae. #245

Open
BigBig-joe opened this issue Jun 2, 2023 · 1 comment

Comments

@BigBig-joe
Copy link

BigBig-joe commented Jun 2, 2023

Hi Support team,

We used to download bing ads report by python SDK, and it works well. When I tried to use campaignManagementService, I got errors , and don't know why.

I use the same authenticate method as report service, and it can return right accountid, and report service works well under it , but campaign service failed.

additional info

I also tried CustomerBillingService, it works fine too. is there any difference in campaign service ?

part of the code like below:

`campaign_service = ServiceClient(
service='CampaignManagementService',
version=13,
authorization_data=authorization_data,
environment=ENVIRONMENT,
)

campaignType=['Audience DynamicSearchAds Search Shopping']
campaigns = campaign_service.GetCampaignsByAccountId(AccountId=135100365,CampaignType=campaignType)`

and the full error log
campaigns = campaign_service.GetCampaignsByAccountId(AccountId=135100365,CampaignType=campaignType) File "D:\python\lib\site-packages\bingads\service_client.py", line 286, in __call__ raise ex File "D:\python\lib\site-packages\bingads\service_client.py", line 278, in __call__ response = self.service_client.soap_client.service.__getattr__(self.name)(*args, **kwargs) File "D:\python\lib\site-packages\suds\client.py", line 586, in __call__ return client.invoke(args, kwargs) File "D:\python\lib\site-packages\suds\client.py", line 728, in invoke result = self.send(soapenv, timeout=timeout) File "D:\python\lib\site-packages\suds\client.py", line 777, in send return self.process_reply(reply.message, None, None) File "D:\python\lib\site-packages\suds\client.py", line 840, in process_reply raise WebFault(fault, replyroot) suds.WebFault: Server raised fault: 'Invalid client data. Check the SOAP fault details for more information. TrackingId: 6265f8ba-0134-40b6-a0b4-1a5ca02a0182.'

@qitia
Copy link
Collaborator

qitia commented Jun 12, 2023

can you debug and share the request payload?

check from the service log and seems you are not passing in valid CstomerAccountId.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants