project-a / bingads-performance-downloader

A script for downloading performance from BingAds API
MIT License
11 stars 9 forks source link

Error 2003 when calling API #20

Closed svmunster closed 4 years ago

svmunster commented 4 years ago

Not sure if this has to do with the script or with permissions on Microsoft side. Running download-bingsads-performance-data gives me this error:

(Fault){
   faultcode = "s:Server"
   faultstring = "Invalid client data. Check the SOAP fault details for more information. TrackingId: d9f81f75-9fd1-4478-af70-b43872fe343e."
   detail = 
      (detail){
         ApiFaultDetail = 
            (ApiFaultDetail){
               TrackingId = "d9f81f75-9fd1-4478-af70-b43872fe343e"
               BatchErrors = ""
               OperationErrors = 
                  (OperationErrors){
                     OperationError = 
                        (OperationError){
                           Code = "2003"
                           Details = ""
                           ErrorCode = "AccountNotAuthorized"
                           Message = "The specified report request contains at least one account which you have insufficient privileges to access. Please submit a report request for accounts that you are authorized to access."

I have a fresh refresh token and provided the customerID and accountID for which the user is Super Admin. Also the Developer Token is from this user.

Any ideas?

martin-loetzsch commented 4 years ago

To me it looks like something with permissions at the Bing side