Support Questions

Find answers, ask questions, and share your expertise

NIFI REST API- FlowFile exceeds maximum number of attributes

avatar
New Contributor

Hi,
I am trying to use NIFI REST API to send data to an input port for testing. 
I have created the transaction and I have received a transactionId.

After that, I have tried to send data by using /flow-files but I have received this error : 

 {"flowFileSent":0,"responseCode":250,"message":"org.apache.nifi.remote.exception.ProtocolException: FlowFile exceeds maximum number of attributes with a total of 1952805748"}

My input  : 

SylvainL_0-1704813805826.png

URL : https://localhost:8080/nifi-api/data-transfer/input-ports/abcc394c-7a49-1a38-0ddc-c79ffbe1f4c6/trans...

Headers :

SylvainL_2-1704814311649.png

 

Do you have an idea to solve my issue?
Thanks in advance. 

 

 

2 REPLIES 2

avatar
Community Manager

@SylvainL Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our NiFi experts @SAMSAL @joseomjr  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Contributor

@SylvainL It seems your API request has some issues, Can you share the full request you are sending to /flow-files?