Excel VBA Timeout Error -2147012894 -


i trying make rest call sfdc excel vba (using oauth2) every time got error message "error : -2147012894 - timeout error" on "http1.send" line. below code working fine on machine. both machine have excel 2007 windows 7

code :

dim http1 object dim url string url = "https://test.salesforce.com/services/data/v32.0/sobjects/opportunity/describe" on error goto errorhandler set http1 = createobject("msxml2.serverxmlhttp") http1.open "get", url, false http1.settimeouts 0, 0, 0, 0 http1.setrequestheader "authorization", "bearer " & getsetting("sf", "tokens", "accesskey") 'accesstoken http1.setrequestheader "content-type", "application/json" http1.send set retrievedata = http1 set http1 = nothing exit function  errorhandler: msgbox "error : " & err.number & " - " & err.description 

please help, if have come across type of error. appreciated.

thanks


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -