AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

My Business
1.6K members online now
1.6K members online now
For developers who are using the Google My Business API to manage locations
Guide Me

400 INVALID_ARGUMENT when patching photos using V3 in C#

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Getting error while using patch command to update photos. Actually I am using c# class library for updating photos in location. But getting 400 error while executing  patch command. So, I have tried playground to get detailed information. Below is the error.

As, per my knowledge name is correct. Then what is wrong in this.


"error": {
"message": "Request contains an invalid argument.",
"code": 400,
"details": [
"errorDetails": [
"field": "",
"message": " is invalid",
"code": 7,
"value": "accounts/1032681xxxxxxxxxx937/locations/505xxxxxxxxxx090837"
"@type": ""



1 Expert replyverified_user

Re: 400 INVALID_ARGUMENT when patching photos using V3 in C#

Google Employee
# 2
Google Employee

Hi @ICE P,


Can you provide us with the full HTTP request message of the POST request including the URI, and the JSON payloads of request body as well as the response body for triggering this error so that we can help you troubleshoot this issue further.