2016-08-02 185 views
7

從今天早上起,我們從Java中通過Google API插入聯繫人時收到以下錯誤。請在下面找到在google.Internal服務器中添加聯繫人時出現異常錯誤

Exception while adding contact in google.... 
com.google.gdata.util.ServiceException: Internal Server Error 
A temporary internal problem has occurred. Try again later. 

    at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:624) 
    at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563) 
    at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552) 
    at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530) 
    at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535) 
    at com.google.gdata.client.Service.insert(Service.java:1409) 
    at com.google.gdata.client.GoogleService.insert(GoogleService.java:599) 

堆棧跟蹤我們收到此錯誤在該行

ContactsService.insert(postUrl, contact) 

同時插入,如果有人知道解決方案請回復。

+0

我們遇到同樣的問題。這幾小時前纔剛剛開始。我們得到 - 錯誤發生了一個暫時的內部問題。稍後再試。 Out服務已經運行好幾年了,沒有問題。 – PNC

+1

使用Google腳本也會發生同樣的錯誤。錯誤在8月1日下午開始。我相信這是格林威治標準時間19:00左右,通過記憶,當這個信息第一次出現時。即使更改帳戶 - 更改憑據 - 問題仍然存在。一般來說,所有嘗試「createContact」或使用Contacts API的人都可能遇到問題。這將是一個好消息:谷歌可能會盡快解決它。 –

+0

有沒有人可以使這項工作?: ContactsApp.createContact(「testFirstName」,「testLastName」,「[email protected]」) 如果一個人可以做這項工作,比問題是特定於我們,否則是每個人的問題! –

回答

4

我已經提出了谷歌的CASE。我建議你們都這樣做。以下是我提出的案例的細節。

問題

我們有一個已經運行了外部數據庫和谷歌聯繫人之間的5年整合的詳細描述。

今天我們在嘗試插入或更新Google聯繫人記錄時收到錯誤消息。

其他人也遇到了這個問題,因爲在

Exception while adding contact in google.Internal server Error

概述我們有使用我們的市場應用多個客戶和他們也有自己的谷歌域實例的問題。

https://chrome.google.com/webstore/detail/ilink-by-i3cloudcom-api/nnidipmclichhijaifbfckcckdpbnmhj

問題是什麼範圍?你以前能夠在沒有任何錯誤的情況下調用API嗎? 是 - 我們的服務已經運行5年沒有這個問題

**是否所有的用戶受到影響,有什麼在你的內部環境的變化**

?是 - 在許多領域和所有谷歌用戶受到影響實例。發生所有嘗試插入/更新聯繫人的用戶。

我們使用.Net客戶端與以下調用

Google.Contacts.Contact createdContact = cr.Insert<Google.Contacts.Contact>(new OAuthUri("https://www.google.com/m8/feeds/contacts/default/full/", user, domain), newContact); 

時返回爲錯誤:https://www.google.com/m8/feeds/contacts/default/full/?xoauth_requestor_id=paul%40i3000.com.au

出現暫時性的內部問題:

的要求執行失敗。稍後再試。

這會影響到我們的許多用戶 - 請儘快查看此問題

+0

「這影響了我們的許多用戶 - 請儘快查看此內容」。我將以不同的方式陳述:如果您可以完成這項工作,請介紹自己:ContactsApp.createContact(「testFirstName」,「testLastName」,「[email protected]」)如果一個人可以完成這項工作,特定於我們,否則是每個人的問題! –

+0

@VladimirBrasil - 你是如何授權的?我們正在使用服務帳戶。我剛剛在這裏進行了測試,並且能夠在OAuth遊樂場中創建聯繫人(不使用服務帳戶,但使用令牌)https://developers.google.com/oauthplayground/也許這是與授權有關......請讓我知道它是否適合你。 – PNC

+0

Google腳本(script.google.com | https://developers.google.com/apps-script/ | https://developers.google.com/apps-script/reference/contacts/)直接在Google數據中心內執行作爲授權服務器,因此代碼不需要oauth。 但是你發現了一個巨大的信息:我剛剛測試過,正如你所建議的那樣,oauthplayground可以像你說的那樣創建一個聯繫人。這是一個巨大的改進,可能是實施解決方法的第一個候選人。感謝您的創意替代! –

相關問題