Skip to main content
Solved

FMEServer.submitJob with uploaded data

  • June 19, 2018
  • 2 replies
  • 9 views

gpt_geoinfo
Contributor
Forum|alt.badge.img+2

Hi there,

I want to trigger a workspace with the function FMEServer.submitJob, but get the a 422-error:

with the response:

What's wrong with the path? Do I have to escape those slashes?

Cheers,

 

Maria

Best answer by david_r

What is the parameter type for the published parameter "source_csv_perimeter" in your workspace?

Based on the error message it may be that "value" should be a list, not a string.

Can you try something putting square brackets around the string, e.g.:

"value": ["...756.itf"]
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.

2 replies

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • June 19, 2018

What is the parameter type for the published parameter "source_csv_perimeter" in your workspace?

Based on the error message it may be that "value" should be a list, not a string.

Can you try something putting square brackets around the string, e.g.:

"value": ["...756.itf"]

gpt_geoinfo
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • 45 replies
  • June 26, 2018

What is the parameter type for the published parameter "source_csv_perimeter" in your workspace?

Based on the error message it may be that "value" should be a list, not a string.

Can you try something putting square brackets around the string, e.g.:

"value": ["...756.itf"]
That's it! Thanks!