Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8991501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:44:30+00:00 2026-06-15T22:44:30+00:00

Using the Contact API v3 I had a working implementation for uploading a photo

  • 0

Using the Contact API v3 I had a working implementation for uploading a photo to an existing contact.

Since a couple of weeks this fails with 404. The implementation has not been changed when the API servers started to sent back 404s and I don’t see any indication what exactly changed and would result now in the 404s.

I’m using HTTP PUT + the photo URL of the contact.

One interesting observation I made was that the contact’s self-URL changes which each request (the provided details are still always the same and correct).

Did anyone notice something similar ?

Edit: Link to issue: http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3301&q=contact&colspec=API%20ID%20Type%20Status%20Priority%20Stars%20Opened%20Summary

  • tried different photo formats and sizes, different content types and even photos which had been uploaded previously (when it was still working). Nothing changed the behaviour of returning 404.

  • w.r.t to change contact ids: the contact ID changes between API invocations. I first thought it could be related to reopened connection( no keep-alive) that contact ids change. However what speaks against this being the cause of the issue is that first retrieving a contact and then editing a contact’s address is possible without any issues.

  • authentication does not seem to be problem as well – otherwise editing a contact’s address would not work as well.

PS: I’m using the JSON output format when retrieving the contact.

PS2: s/GET/PUT in step 3 ( I tried to change PUT to GET to see if it still returns 404… which it does).

PS3: am not using any client library but implement the protocol directly (which should not be relevant for the HTTP PUT on the photo link

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:44:31+00:00Added an answer on June 15, 2026 at 10:44 pm

    After hours of investigation I found out that this is particular an issue using OAuth1. Using OAuth2 the exact same photo links which had been returned when requesting a specific contact record using OAuth1 work and return the photo data on HTTP GET. I expect HTTP PUT for photo links using OAuth2 to succeed as well.

    Remains open if if there’s some kind of workaround for OAuth1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create Contact on Google Apps. I am Using this API And
via server API's i'm getting contact information using member of structure: char displayName[USERNAME_MAX_SIZE]; One
With the Google Contacts API, you can GET contact information using JSON, but is
I am trying to get user album by using GRAPH API with function facebook.request(contact.getFacebook_id()+/albums)
I'm using the Javascript SDK to contact the API. Using Built-in Watch action: When
I'm using the Tridion.OutboundEmail.ContentManagement API to retrieve and manage contact details. Retrieving Contacts is
I managed to add a contact to SugarCRM using its set_entry REST API method.
I am using two legged OAuth for Google Contact Data API and generating token
I am using a cloud based contact management system API with PHP library that
I am using sendhub API. https://www.sendhub.com/developer/ and getting this error. The format indicated 'application/x-www-form-urlencoded'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.