https://linen.dev logo
#help
Title
# help
n

nitin kumar

09/10/2023, 6:58 AM
Hi everyone, Getting the below error when using this code
_findAll_(RequestPatternBuilder._newRequestPattern_().withUrl("/v2/pusher/user"));
Copy code
{
  "errors": [
    {
      "code": 10,
      "source": {
        "pointer": "/timestamp"
      },
      "title": "Error parsing JSON",
      "detail": "Unrecognized field \"timestamp\" (class com.github.tomakehurst.wiremock.common.Errors), not marked as ignorable"
    }
  ]
}
I am getting this when calling static method to query wiremock server version using:
2.35.1
but works fine when doing,
wiremock.find(RequestPatternBuilder._newRequestPattern_().withUrl("/v2/pusher/user"))
Can someone please help ?
o

Oleg Nenashev

09/10/2023, 8:35 PM
It is likely a. Compatibility issue between the client and the server. Normally it should not happen. Could you please check the versions of the client code?
2 Views