SUSHANT hi,
thanks for posting this on q&a, its super helpful when folks share their exact issues like u did. this server error might pop up if the code interpreter hits a snag with image generation permissions. check if the agent's role has 'allow data visualization' enabled in its settings. sometimes updates reset these things, ugh.
also, try a smaller dataset first. if the excel file is huge, the code interpreter might choke while rendering visuals. split the data or sample a chunk, then test again. this might help in other tools too, honestly.
as well make sure the 'microsoft azure ai foundry python sdk' is updated. that runid suggests a backend hiccup, and outdated libs love causing those. run pip install --upgrade azure-ai-foundry and cross ur fingers :))
log the full error next time (if u can safely share it). server errors like this love hiding clues in the details. oh, and if u're using custom python libs for charts, stick to basic 'matplotlib' for now - less drama...
clear the agent's cache. sounds simple, but 60% of the time, it works every time ) just restart the session or redeploy the agent.
let us know if the pie chart gods smile upon u after this...
Best regards,
Alex
and "yes" if you would follow me at Q&A - personaly thx.
P.S. If my answer help to you, please Accept my answer