Skip to main content
Solved

FMEServer.submitJob with uploaded data


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"]
View original
Did this help you find an answer to your question?

2 replies

david_r
Evangelist
  • 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
  • June 26, 2018
david_r wrote:

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!

 

 


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