# MType PROPRIETARY causing a gs.up.drop

**URL:** <https://www.thethingsnetwork.org/forum/t/mtype-proprietary-causing-a-gs-up-drop/59990>\
**Category:** TTN Network and Services\
**Tags:** gateways\
**Created:** [November 16, 2022, 3:40pm UTC](https://www.thethingsnetwork.org/forum/t/mtype-proprietary-causing-a-gs-up-drop/59990 "2022-11-16T15:40:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hphillip](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hphillip/32/46261_2.png) [@hphillip](https://www.thethingsnetwork.org/forum/u/hphillip)\
**Post date:** [November 16, 2022, 3:40pm UTC](https://www.thethingsnetwork.org/forum/t/mtype-proprietary-causing-a-gs-up-drop/59990/1 "2022-11-16T15:40:38Z")

</div>

I’m using

> The Things Network Command-line Interface: ttn-lw-cli  
> Version: 3.22.2  
> Build date: 2022-11-10T13:51:07Z  
> Git commit: 33e03d104  
> Go version: go1.19.2  
> OS/Arch: windows/amd64

Since **2022-11-16T05:57:17** I’m observing frequent **gs.up.drop** messages of the type:

> “data”: {  
> “@type”: “[type.googleapis.com/ttn.lorawan.v3.ErrorDetails](http://type.googleapis.com/ttn.lorawan.v3.ErrorDetails)”,  
> “namespace”: “pkg/encoding/lorawan”,  
> “name”: “unknown\_field”,  
> “message\_format”: “unknown `{lorawan_field}`”,  
> “attributes”: {  
> “lorawan\_field”: “MType”,  
> “value”: “PROPRIETARY”  
> },

It is possibly a non-compliant device (not one of mine, I hasten to add) within range of my gateway.  
I’ve not noticed it prior to **3.22.2**

Has anyone else noticed anything similar?

---

<div class="post-metadata">

**Author:** ![hphillip](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hphillip/32/46261_2.png) [@hphillip](https://www.thethingsnetwork.org/forum/u/hphillip)\
**Post date:** [December 6, 2022, 5:11pm UTC](https://www.thethingsnetwork.org/forum/t/mtype-proprietary-causing-a-gs-up-drop/59990/2 "2022-12-06T17:11:14Z")

</div>

Just in case anyone else stumbles across this, the issue has been progressed here:

> <https://github.com/TheThingsNetwork/lorawan-stack/issues/5956>
>
> \### Summary
> 
> The message\_format of an error message is parameterised so that a t…emplate message containing {attributeName} can be substituted with corresponding attribute values. A good example is: 
> \`"name": "field\_length\_equal", "message\_format": "\`{lorawan\_field}\` length \`{value}\` should be equal to \`{expected}\`", "attributes": { "expected": 23, "lorawan\_field": "JoinRequestPHYPayload", "value": 35 }\`
> 
> which can be simply parsed into \`JoinRequestPHYPayload\` length \`35\` should be equal to \`23\`
> 
> However the message\_format for "name": "unknown\_field" is not so friendly:
> \`"name": "unknown\_field", "message\_format": "unknown \`{lorawan\_field}\`", "attributes": { "lorawan\_field": "MType", "value": "PROPRIETARY" }\`
> ...because the message\_format does not include {value} in its string 
> 
> \### Current Situation
> 
> This issue has been raised because since 3.21.2 I have been seeing traffic through one of my gateways that are getting frequent gs.up.drop responses due to the use of MType PROPRIETARY. Ironically my initial parsing of the message just showed 
> unknown 'MType' so I had to dig into why the message was being dropped.
> 
> According to documentation, quote: "These are typically non-LoRaWAN traffic received by a gateway on your network" unquote
> However, as there is a PROPRIETARY value in the MType enum, from a sematically perspective I am slightly surprised the reason for the gs.up.drop is "unknown\_field".
> 
> \### Desired Situation
> 
> A better template for this message could be: 
> 
> "message\_format": "unknown \`{lorawan\_field}\` value \`{value}\`"
> 
> I perfectly understand te reason to drop messages that are non-LoRaWAN, but 
> perhaps there is a better way of indicating non-LoRaWAN traffic?
> 
> 
> \### Code of Conduct
> 
> \- \[X\] I agree to follow TTN's \[Community Code of Conduct\](https://github.com/TheThingsNetwork/Manifesto/blob/master/CodeOfConduct.md).
