Skip to main content
Question

FME server error when running Json

  • September 3, 2018
  • 4 replies
  • 22 views

boubcher
Contributor
Forum|alt.badge.img+11

Hello There

the workspace work with no error on the FME desktop but when published on the FME server I am getting this error

(The clause 'JSON_DOCUMENT @EvaluateExpression(FDIV,STRING_ENCODED,<at>Value<openparen>text_line_data<closeparen>,JSONValidator) READ_FROM_FILE NO FILEPATH_OR_URL <Unused>' within 'FACTORY_DEF * JSONFormatterFactory FACTORY_NAME JSONValidator INPUT FEATURE_TYPE UUIDGenerator_OUTPUT JSON_DOCUMENT @EvaluateExpression(FDIV,STRING_ENCODED,<at>Value<openparen>text_line_data<closeparen>,JSONValidator) READ_FROM_FILE NO FILEPATH_OR_URL <Unused> FORMAT NONE SYNTAX_ERROR_LIST_ATTR _json_error OUTPUT OUTPUT FEATURE_TYPE JSONValidator_PASSED OUTPUT INVALID FEATURE_TYPE JSONValidator_FAILED' is incorrect. The parameter to JSON_DOCUMENT must be a constant value, a value-of (&) attribute, or an FME function call)

Any idea please ??

this is the Json transformaer section of the WS

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • September 3, 2018

Hi @boubcher

Is the same version FME Desktop and FME Server?

Thanks

danilo


david_r
Celebrity
  • 8394 replies
  • September 4, 2018

I've observed something very similar with a JSONFlattener when accidentally publishing a workspace made on FME 2018.1 to FME Server 2018.0, so yes, the first thing is to check Desktop and Server versions. On a general note, FME Desktop should never be more recent than your Server version.

Tip for Safe: It would be super cool if FME Server could give a very visible warning if it started a job with a workspace authored by a desktop version more recent than the actual engine build number.


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 212 replies
  • September 5, 2018

Hi @boubcher

Is the same version FME Desktop and FME Server?

Thanks

danilo

Sure guys we will update the FME server to much the version

 

Thanks Again

 

 


Forum|alt.badge.img+2
  • 364 replies
  • September 6, 2018

I've observed something very similar with a JSONFlattener when accidentally publishing a workspace made on FME 2018.1 to FME Server 2018.0, so yes, the first thing is to check Desktop and Server versions. On a general note, FME Desktop should never be more recent than your Server version.

Tip for Safe: It would be super cool if FME Server could give a very visible warning if it started a job with a workspace authored by a desktop version more recent than the actual engine build number.

When publishing the workspace workbench does give a warning that you'll be publishing to an older version of Server. But you could always add this to the ideas if it's not there already