Skip to main content

I keep on getting this error when I run postman on http://localhost:8081/multipleFlights and don't understand what happened.

 

"DATA IS UNAVAILABLE. TRY LATER. /norg.mule.api.MessagingException: Execution of the expression \&# 34;if (type.contains('737')){\n return 150;\n}else{\n return 300;\n}\&# 34; failed. (org.mule.api.expression.ExpressionRuntimeException).

3 answers
  1. Apr 2, 2017, 8:06 PM

    Another week, another error in the training video. I empathise with your frustration @lucy_he

     

    When Josh moved the expression from the Global XML into a separate flow he didn't show the bit where you need to update the expression to look for payload.type instead of just type

0/9000