Unrecognized field "web" (class org.traccar.model.Notification), not marked as ignorable

Rwema Aimable6 years ago

I have built Traccar from the latest source. Notifications stopped working and disabled. When I try to enable notification, I get the error Unrecognized field "web" (class org.traccar.model.Notification), not marked as ignorable. I have copied the web files from my custom build.

Unrecognized field "web" (class org.traccar.model.Notification), not marked as ignorable (6 known properties: "notificators", "attributes", "calendarId", "type", "id", "always"])
 at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@24abb675; line: 1, column: 110] (through reference chain: org.traccar.model.Notification["web"])
Anton Tananaev6 years ago

Don't use master branch unless you know what you are doing.

Rwema Aimable6 years ago

OK got it

cheikh omar kane6 years ago

Hello
I have the same mistake by creating a notification

Unrecognized field "web" (class org.traccar.model.Notification), not marked as ignorable (6 known properties: "notificators", "attributes", "calendarId", "type", "id", "always"])
 at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@1c2ca51c; line: 1, column: 58] (through reference chain: org.traccar.model.Notification["web"])

how did you fix it?

Kieran Grosvenor2 years ago

Hey, im confused, the documentation says web should be able to be passsed but when it is it's unrecognised - what data type does it expect exactly?

Anton Tananaev2 years ago

This is a very old thread. We don't even have such fields anymore.