Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

LookupRecord LookupRecord throwing Could not determine schema to use for enriched FlowFiles :Not an Avro data file.

avatar
Explorer

I am trying use LookupRecord LookupRecord from Oracle table and i am using Avro reader/writer in LookupRecord . 

BUt i am receiving below error

Any suggestion @mburgess 

2024-08-13 18:09:09,214 ERROR [Timer-Driven Process Thread-4] o.a.n.processors.standard.LookupRecord LookupRecord[id=3a641d1a-1b3c-1a47-2c18-b3541562e3ea] Could not determine schema to use for enriched FlowFiles
org.apache.avro.InvalidAvroMagicException: Not an Avro data file.

3 REPLIES 3

avatar
Super Guru

Hi ,

Are you using provided avro schema ? If so, its basically saying that your avro schema is invalid! how are you providing your schema ? Can you please post some screenshot of your configuration?

avatar
Master Guru

Is the incoming FlowFile an Avro file? Or is it JSON or something else?

avatar
Explorer

@mburgess -- I am reading from Oracle table, not sure about the incoming flowfile