Am able to access bigquery api and able to get data by running queries through C#, but when i try the same from other machine am not able to get data. I get access token but while executing query i get exception With Message - "Unable to connect Remote Server" and Inner Exeption as - "The attempted operation is not supported for the type of object referenced".
開発中に複数のマシンから API にアクセスするために必要なことはありますか? 両方のマシンで 2 つの異なる clentId とシークレット キーを使用しようとしましたが、まだ機能しませんでした。
助けてください。
スタックトレース
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
at Google.Apis.Requests.Request.EndAttachBody(IAsyncResult asyncResult)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CaptureOrComplete(ExecutionContext& cachedContext, Boolean returnContext)
at System.Net.ContextAwareResult.FinishPostingAsyncOp()
at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state)
at Google.Apis.Requests.Request.AttachBody(WebRequest request, Action`1 onRequestReady)
at Google.Apis.Requests.Request.CreateWebRequest(Action`1 onRequestReady)
at Google.Apis.Requests.Request.ExecuteRequestAsync(Action`1 responseHandler)
at Google.Apis.Requests.ServiceRequest`1.GetAsyncResponse(Action`1 responseHandler)
at Google.Apis.Requests.ServiceRequest`1.GetResponse()
at Google.Apis.Requests.ServiceRequest`1.Fetch()