Page 1 of 1

web tag error in file ''

Posted: Mon 31 Jan 2022 2:38 pm
by tallasen
Upon upgrading I get this error :arrow: *** web tag error in file '' - see MXdiags file ***

Below is a snippet of the MXdiags file. Any help appreciated!

2022-01-31 15:33:17.264 End of PWS archive upload
2022-01-31 15:33:22.337 InitSerial: Connecting to the station
2022-01-31 15:33:23.360 InitSerial: Connection confirmed
2022-01-31 15:33:23.360 SendLoopCommand: Starting - LOOP 50
2022-01-31 15:33:47.892 Web tag error in file:
2022-01-31 15:33:47.892 token=<#wspeed rc=y,"wgust":<#wgust rc=y>
2022-01-31 15:33:47.892 Position in file (character)=308
2022-01-31 15:33:47.892 Exception: i=294 len=344
2022-01-31 15:33:47.893 inputText.Length=344
2022-01-31 15:33:47.923 System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at CumulusMX.Cumulus.TokenParserOnToken(String strToken, String& strReplacement)
at CumulusMX.TokenParser.Parse3()
2022-01-31 15:33:47.923 ** The output file will contain an error message starting "**Web tag error"
2022-01-31 15:34:01.225 WOW Response: ERROR - Response code = 429, body = The custom error module does not recognize this error.

Re: web tag error in file ''

Posted: Mon 31 Jan 2022 2:49 pm
by mcrossley
That snippet of log does not show what file was being processed, but it has a badly formed web tag in it...

Code: Select all

<#wspeed rc=y,"wgust":<#wgust rc=y>
should be (at a guess)...

Code: Select all

<#wspeed rc=y>:<#wgust rc=y>

Re: web tag error in file ''

Posted: Mon 31 Jan 2022 3:05 pm
by tallasen
Thank you! Problem solved!