ReporterForUiPath.Activities package was giving "A generic error occurred in GDI+."

I am using ReporterForUiPathActivities package for report generation. I am using stepstatus activity for validation. But its giving “A generic error occurred in GDI+.” as a trace message instead of stepstatus output which was mentioned in its properties. Please find the below screenshot
The image shows a list of error and response messages, including "A generic error occurred in GDI+" and "LWDS Response is generated." (Captioned by AI)

@vicky_ingole_13 is that your component by any chance?
@sreedutta14 if you cannot find the author here, maybe try asking a question directly on the marketplace, using the Q&A as a way to reach out.

Hi @qbrandon @vicky_ingole_13 Its not my component. It was a package which I downloaded from marketplace. Sure, i will ask in marketplace

I faced this issue and fixed it by following these steps:

  1. Check File Name
  • If the file name is too long or contains special characters like -, #, %, $, etc., change it.
  • Use short names and replace spaces with _ (underscore).
  • Avoid spaces and special characters completely.
  1. For Data-Driven Testing
  • If you are using a Data Driven approach, check the Test Name or Suite Name in your test data.
  • Make them short and avoid spaces or special characters.
  1. Result
  • After applying these changes, the error disappeared and everything worked fine.