farmOS / field-kit

A modular, offline-first companion app to farmOS.
https://farmOS.org
GNU General Public License v3.0
60 stars 39 forks source link

406 Not Acceptable: Unknown data property data. #338

Closed tool172 closed 4 years ago

tool172 commented 4 years ago

Error while syncing newly created log to server.

additionally on Android / Samsung Galaxy S7 / sync all cloud won't work, 3 dots to sync all logs won't work. Same error comes up when saving plain old activity logs with a name and description, no other changes.

For my log, a geo area was selected.

jgaehring commented 4 years ago

Thanks for reporting, @tool172, and sorry you're having trouble.

So, just to clarify, you can reproduce by the following steps:

  1. Create a new log
  2. Add a name to the log, such as "Test 1"
  3. Add notes to the log, such as "this is a test"
  4. Go back to the My Logs screen
  5. Click the sync cloud

And then you get an error that reads "406 Not Acceptable: Unknown data property data.", is that correct? Are there any other steps required to reproduce that error?

Also, can you tell us the following:

tool172 commented 4 years ago

It's open source and beta :) , @jgaehring , You can reproduce the error by doing that as described in 1-5 above.

I am self-hosting, 7.1.x.0 (just noticed i should probably upgrade). No beta modules in play right now. I haven't done any updates to the box.

Field kit version 0.4.18

I am spinning up another jail to test in right now. I'll get back to you in a bit.

tool172 commented 4 years ago

So i spun up a 7.x-1.3 and it works now.

jgaehring commented 4 years ago

Glad you found a fix, @tool172!

You've reminded me we need to have better documentation of the server requirements for running Field Kit (farmOS/farmOS.org#69). TL;DR: you can pretty much assume that the latest version of Field Kit will require whatever is the latest version of farmOS, at least while we're still in beta.