csv upload fails "...contains invalid location fields"

7 ビュー (過去 30 日間)
Yam Schuster
Yam Schuster 2020 年 2 月 17 日
コメント済み: Yam Schuster 2020 年 2 月 20 日
Hey, (sorry about my english)
since yesterday I got , during CSV Upload, the Error message : "The file was not uploaded because it contains invalid location fields"
My investigation, what is wrong with the csv-file, was not helpfull, I found nothing (for me) obvious wrong. The upload procedure I have done a lot of times in the past, w/o any issue!!! but now ?????
(I double checked the file with Excel, notepad++, textpad... deleted rows in the file, added manualy some field values in an row,.... reduced a dummy file to only 10 rows....
==> some times it worked, sometimes not.)
What is the KEY Reason for this error massage? a certain coding? after checking since hours, trying different minor/major changes, I have no glue what is wrong.
I need a simple hint in what direction or on what "Point (?)" I have to check?!?!
....
The File I wants to upload is from TS downloaded -> deleted some (faulty) rows -> upload again.
The Upload procedure I make 1000 of times in the past.... but since yesterday, I was not lucky. :-(((
cheers & thanks in advance
Joachim
  5 件のコメント
Yam Schuster
Yam Schuster 2020 年 2 月 17 日
@Joachim Keinert: thanks for your hint, so I´m not 'allone' ;-)
and @all: I of course checked the 'RTMF' ;-) regarding the csv files, and of course checked the coding thing regarding UTF-8 ..... ;-))
thanks in advance for showing the direction for my further investigations.
Joachim
Jj
Jj 2020 年 2 月 18 日
I used to export the data log on to the channel then reimport. But now I can't. My issue is still unresolved :(

サインインしてコメントする。

採用された回答

Christopher Stapels
Christopher Stapels 2020 年 2 月 18 日
There were two recent changes to csv upload.
Position validation: the Latitude must be from -90 to +90, and Longitude from -180 to 180. Also, the time format should be ISO 8601, like this example: 2020-05-15T20:03:48-05:00
If your file continues to fail, can you share a few rows of the file that are failing?
  4 件のコメント
Christopher Stapels
Christopher Stapels 2020 年 2 月 18 日
Ill test your file and let you know when I have more information.
Yam Schuster
Yam Schuster 2020 年 2 月 18 日
you are welcome ;-)) thanks in advance for your effort!!!

サインインしてコメントする。

その他の回答 (1 件)

Yam Schuster
Yam Schuster 2020 年 2 月 18 日
@Christopher. my recent changes / trials:
  • filled the lat&lon fileds w/ dummy values --> still not working
  • played arround with the date Time:
  • "2019-11-07 14:32:12 UTC" ~~> "2019-11-07T14:32:12"
  • "2019-11-07 14:32:12 UTC" ~~> "2019-11-07T14:32:12+0"
  • "2019-11-07 14:32:12 UTC" ~~> "2019-11-07T14:32:12+000"
  • "2019-11-07 14:32:12 UTC" ~~> "2019-11-07T14:32:12" same result: --> still not uploading
  • ---> there must be something regarding the values itself , but where and what?
See my 3 examples from yesterday: there I figured out : if changing only one certain value, this can be the show stopper. But why? I see no rule behind it.
cheers Joachim
  4 件のコメント
Vinod
Vinod 2020 年 2 月 19 日
Thank you for reporting the issue. It has been resolved.
Yam Schuster
Yam Schuster 2020 年 2 月 20 日
Hey Vinod & Christopher,
thanks for your support. I tested it today, everything is fine again now. the Upload works again!!! Good Job!!!
Regards
Joachim

サインインしてコメントする。

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by