java.lang.IllegalArgumentException: SPIN-01001 Unsupported input of type 'com.oracle.truffle.polyglot.PolyglotMap'

Hey everyone,

we have to fix the below error on our side and this happens when the developers try to post a request to engine-rest or as they say “calling a workflow”:

java.lang.IllegalArgumentException: SPIN-01001 Unsupported input of type 'com.oracle.truffle.polyglot.PolyglotMap'

also we added the below line in bpm-platform.xml file, hoping that this would fix the issue:

<property name="defaultSerializationFormat">application/json</property>

I’m still pretty new to all this, so I’m not exactly sure what we should be looking at next.

Any ideas or suggestions would be super helpful. Thanks, guys!

Hello my friend!

Can you provide us with more information?

For example, what call are you trying to make to Camunda? … I understand that it is a POST, but for which API?

Can you provide us with the endpoint and the payload that was called?

William Robert Alves