Request contains an invalid argument.

1,528 views
Skip to first unread message

Ibrahim Jarrar

unread,
Mar 7, 2023, 6:09:39 AM3/7/23
to Google Ads API and AdWords API Forum
I am getting this error with no idea whats the reason, it happens both in v11 and v12 of the API, any clues would be really appreciated:

(<_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = “Request contains an invalid argument.”
debug_error_string = “UNKNOWN:Error received from peer ipv4:172.217.16.42:443 {created_time:“2023-03-07T11:49:42.198406+01:00”, grpc_status:3, grpc_message:“Request contains an invalid argument.“}”
>, <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = “Request contains an invalid argument.”
debug_error_string = “UNKNOWN:Error received from peer ipv4:172.217.16.42:443 {created_time:“2023-03-07T11:49:42.198406+01:00”, grpc_status:3, grpc_message:“Request contains an invalid argument.“}”
>, errors {
  error_code {
    request_error: UNKNOWN
  }
  message: “The error code is not in this version.”
  location {
    field_path_elements {
      field_name: “operations”
      index: 0
    }
    field_path_elements {
      field_name: “update”
    }
    field_path_elements {
      field_name: “resource_name”
    }
  }
}
request_id: “EkD68T9hnWlYbaRFzGcpDg”
, ‘EkD68T9hnWlYbaRFzGcpDg’)
python-BaseException
status = StatusCode.INVALID_ARGUMENT
details = “Request contains an invalid argument.”
debug_error_string = “UNKNOWN:Error received from peer ipv4:172.217.16.42:443 {created_time:“2023-03-07T11:49:42.198406+01:00”, grpc_status:3, grpc_message:“Request contains an invalid argument.“}”
>, <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = “Request contains an invalid argument.”
debug_error_string = “UNKNOWN:Error received from peer ipv4:172.217.16.42:443 {created_time:“2023-03-07T11:49:42.198406+01:00”, grpc_status:3, grpc_message:“Request contains an invalid argument.“}”
>, errors {
  error_code {
    request_error: UNKNOWN
  }
  message: “The error code is not in this version.”
  location {
    field_path_elements {
      field_name: “operations”
      index: 0
    }
    field_path_elements {
      field_name: “update”
    }
    field_path_elements {
      field_name: “resource_name”
    }
  }
}
request_id: “EkD68T9hnWlYbaRFzGcpDg”
, ‘EkD68T9hnWlYbaRFzGcpDg’)

Google Ads API Forum Advisor

unread,
Mar 7, 2023, 11:32:00 AM3/7/23
to adwor...@googlegroups.com
Hi,

Thank you for raising this concern to the Google Ads API support team.

Regarding the issue you are experiencing, can you please provide the complete request and response logs with request ID and request header generated on your end so our team can investigate and provide guidance accordingly? 

Note that these logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check here and click your client library for the specific guideline to enable it.

You may then send the requested logs via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,
Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2jWp2r:ref
Reply all
Reply to author
Forward
0 new messages