I'm having an issue streaming data out with in-DB tool. I'm getting the error "DataWrapOCI: Unable to prepare the query: "With Tool1_Oaaf" AS query...."

Can anyone tell me what this error actually means? The query works if I run it in TOAD or SQL developer.