Describe the bug
When I update an API plan on Daikoku an asynchronous job is run on Daikoku to update Otoroshi data.
During this job execution, this error is loggued on Daikoku log file:
OtoroshiVerifierJob - Verifying sync between daikoku and otoroshi
[error] application - JsResultException(errors:List((,List(JsonValidationError(List(null is not an object),List())))))
play.api.libs.json.JsResultException: JsResultException(errors:List((,List(JsonValidationError(List(null is not an object),List())))))
at play.api.libs.json.JsReadable.$anonfun$as$2(JsReadable.scala:25)
at play.api.libs.json.JsError.fold(JsResult.scala:66)
at play.api.libs.json.JsReadable.as(JsReadable.scala:24)
at play.api.libs.json.JsReadable.as$(JsReadable.scala:23)
at play.api.libs.json.JsUndefined.as(JsLookup.scala:193)
at fr.maif.otoroshi.daikoku.domain.json$$anon$88.$anonfun$reads$312(json.scala:2892)
at scala.util.Try$.apply(Try.scala:210)
at fr.maif.otoroshi.daikoku.domain.json$$anon$88.reads(json.scala:2890)
at play.api.libs.json.JsValue.validate(JsValue.scala:17)
at play.api.libs.json.JsValue.validate$(JsValue.scala:16)
[error] application - JsResultException(errors:List((,List(JsonValidationError(List(null is not an object),List())))))
Despite this error, Otoroshi data is updated.
To Reproduce
Steps to reproduce the behavior:
On Daikoku try to update an usage plan
See error on Daikoku log file
Expected behavior
No error loggued on Daikoku log file.
Describe the bug When I update an API plan on Daikoku an asynchronous job is run on Daikoku to update Otoroshi data. During this job execution, this error is loggued on Daikoku log file:
Despite this error, Otoroshi data is updated.
To Reproduce Steps to reproduce the behavior:
Expected behavior No error loggued on Daikoku log file.
Additional context