Thanks @Ingo_Richtsmeier while i was waiting for a reply over here, i found this thread (Error message of BPMN error from external task - #5 by RAMABATHIRANK) and it has the same information as you’ve pointed out here. This is now resolved.
thanks for the help guys, appreciate it.