Skip to main content

I was following along with the Transforming Data module in Week 2 of the Development Fundamentals. After I added the JSON to Object transformer to my flow in Anypoint studio, restarted and tried http://localhost:8081/flights again in Postman, I got an error parsing the result, instead of the nicely formatted flight list.

 

Th error in Postman was:

Failed to transform from "json" to "org.mule.module.json.JsonData". (org.mule.api.transformer.TransformerMessagingException).

 

In the stack trace in the Anypoint Studio log window, I see this exception from java.io.StringReader (line: 1, column: 4):

Unexpected character ('p' (code 112)): was expecting double-quote to start field name

 

I don't think I missed a point where we needed to install any transformation packages or anything. What's my damage, can anyone tell?

5 answers
0/9000