Skip to main content
Question

FME server error when running Json

  • September 3, 2018
  • 4 replies
  • 16 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

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • September 3, 2018

Hi @boubcher

Is the same version FME Desktop and FME Server?

Thanks

danilo


david_r
Evangelist
  • 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
  • September 5, 2018
danilo_fme wrote:

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
david_r wrote:

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

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings