MUIInferencer Errors

i am using
<MuiInferencer resource="metrics" action="list" />
<MuiInferencer resource="metrics" action="list" />
and am getting the following errors:
MUI: GridErrorHandler - An unexpected error occurred. Error: Objects are not valid as a React child (found: object with keys {id, reference_id, deploy_id, build_id, callsign, updated_at, enc_config, storage_key, download_url}). If you meant to render a collection of children, use an array instead.. Error: Objects are not valid as a React child (found: object with keys {id, reference_id, deploy_id, build_id, callsign, updated_at, enc_config, storage_key, download_url}). If you meant to render a collection of children, use an array instead.
MUI: GridErrorHandler - An unexpected error occurred. Error: Objects are not valid as a React child (found: object with keys {id, reference_id, deploy_id, build_id, callsign, updated_at, enc_config, storage_key, download_url}). If you meant to render a collection of children, use an array instead.. Error: Objects are not valid as a React child (found: object with keys {id, reference_id, deploy_id, build_id, callsign, updated_at, enc_config, storage_key, download_url}). If you meant to render a collection of children, use an array instead.
I was hoping to use the inferencer as a component of another page...any ideas?
3 Replies
refine-support-bot
Hey, I am refine support bot :wave:. I am here to help you with your question. I searched for the answer to your question in the refine documentation and could not find an answer. Please wait for someone from the refine core team or the community to try to help you. 👊
conventional-tan
conventional-tan16mo ago
Hi, probably generated jsx code have issues. Can you click show code and debug generated react code ? You can create your own component with that code after fix the issue. Also can you please give us your data to want to inference ? We can to examine the inferencer issue. if there is a bug on inferencer, we will fix it
xenophobic-harlequin
xenophobic-harlequin16mo ago
thanks, no need to examine I was able to just use the code provided and tweak it. I will post a follow up if I encounter again