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

Uploading image failed - google.mybusiness.v3p1.InternalError - photos.additional_photo_urls

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

I connected my location via GMB API & sent a PATCH request to update my location photos. My location is already verified. 

 

All the updates work except photos. Below is the response received from GMB API

 

{
  "error": {
    "code": 500,
    "message": "Request only partially succeeded, refer to details for which fields failed.",
    "status": "INTERNAL",
    "details": [
      {
        "@type": "type.googleapis.com/google.mybusiness.v3p1.InternalError",
        "errorDetails": [
          {
            "code": 1001,
            "field": "photos.additional_photo_urls",
            "message": "Uploading image failed",
            "value": "https://dev.pixadus.com/1e328ebc91246864ceb1ce61586b3f18/gallery1.jpg"
          }
        ]
      }
    ]
  }
}
"photos" : {"additionalPhotoUrls":["https://dev.pixadus.com/1e328ebc91246864ceb1ce61586b3f18/gallery1.jpg"]}

photos element within my API request is like above. The URL is public and reachable. 

 

Has anyone faced such a problem? Can someone help?

 

 

1 Expert replyverified_user

Re: Uploading image failed - google.mybusiness.v3p1.InternalError - photos.additional_photo_urls

Google Employee
# 2
Google Employee

Hi @Uma Anand I,

 

Please make sure that the location you are uploading the photos to has an associated Google+ page, as indicated by a plusPageId in the LocationKey, since photos are supported only with a Google+ page, and the photos meet the Google My Business guidelines and the specifications of the Photos object documented on our Google Developers site.

 

Thanks,

Shalini, Google My Business API team