Hi Everton,It’s working fine.Regards,Adarsh
@Einar Omang I am using below code to upload the file but getting the exception. var fileCreate = new FileCreate { Name = fileName, DataSetId = dataSetId, SourceCreatedTime = unixTimeMilliSeconds, ExternalId = string.Concat(confModel.CompletionName, "-", Guid.NewGuid().ToString()), }; var fileUploadReq = SdkClient.Files.UploadAsync(fileCreate); var fileUploadRes = fileUploadReq.Result; int retryCount = 0; int maxRetries = 5; while (retryCount < maxRetries) { try { using (WebClient webClient = new WebClient()) { webClient.Headers.Add("Content-Type", "application/json"); webClient.Headers.Add("Bearer", _token); webClient.UploadFile(fileUploadRes.UploadUrl, filePath); } break; } catch (Exception e) { retryCount++; if (retryCount > 4) { return false;
@Einar Omang Thanks it worked.
After update all the columns shrink into one.
@Mithila Jayalath External In case if you are writing non async code you can call async code without await and can use Wait on that task. I missed that wait. Let me try with it.var createRowTask = SdkClient.Raw.CreateRowsAsync(database, table, rawRowCreateColl);createRowTask.Wait();
@Mithila Jayalath External My method is not async so I am not using await on CreateRowsAsync.
Hi Everton,Thanks, the example is working.
@Everton Colling @Dilini Fernando This information has helped. Thanks.
Hi @Dilini FernandoI have started my work on Timeseries just few days back only. I have yet to test it.
@Everton Colling I will try it out. Appreciate your help.
@Everton Colling Can you please help on how we can pass the Data set id in the above requests.
Hi Carin & Thomas,Thank you. The explanation provided by Jason has clarified my understanding. I will get in case of any additional questions.Regards,Adarsh
Hi Anita & Knut,Thank you. Yes, the explanation is good enough.Regards,Adarsh
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.