Review Input Dialog Activity: Double-check if there’s an Input Dialog activity in your workflow. The error message you provided seems related to Input Dialog, so ensure that this activity is correctly configured, and there are no data type mismatches in the input parameters.
Check Get Text and Scraping: If the core of your process involves “Get Text” and scraping methods, the error might not be directly related to an Input Dialog. Review the configurations of these activities, and make sure they are correctly extracting and processing data. Check if any of the scraped data needs to be converted before using it in an Input Dialog.
Data Conversion: If you are passing data from the scraping activities to an Input Dialog, ensure that the data types match the expected input of the Input Dialog. For example, if you are trying to input a string into the Input Dialog, make sure the variable or value you’re passing is indeed a string.
Debugging: Use UiPath’s debugging tools to step through your workflow and identify the exact point where the error occurs. This will help you pinpoint the source of the issue.
Variable Types: Check the data types of any variables or arguments used in your workflow. Ensure that the data types match the expected types for the Input Dialog.
Logging: Implement logging throughout your workflow to capture variable values and debug information. This will assist you in identifying the specific data causing the error.
UI Changes: Ensure that there haven’t been any changes in the application’s UI or layout that might be affecting the scraping activities.
UiPath Version: Check if you and your colleagues are using the same version of UiPath. Sometimes, differences in UiPath versions can lead to compatibility issues.
User Permissions: Ensure that you have the necessary permissions to run the workflow, access the application, and interact with the UI elements.
Could you let us know which activity is producing this Error ?
We have encountered this when the type of value retrieved from the activity does not suit the Output variable type used.
So, changing the variable type to UiPath.Core.GenericValue was helping us to prevent this error. We can then convert to the required type by assigning it to another variable.
But do let us some more details before performing a change, so that we can conclude the changes to be done.
The error message “Error: Input Dialog: TypeConverter cannot convert” suggests that there’s an issue with the data conversion or data type being used in your Input Dialog activity. It’s not directly related to the “get text,” “scraping method,” or writing to an Excel cell activities.
Here are a few steps to help you troubleshoot and potentially resolve this issue:
Input Dialog Activity: Verify the Input Dialog activity’s properties, especially the data type expected for the input. Make sure the data type you’re trying to input matches the data type expected by the Input Dialog. It’s possible that the Input Dialog is configured to receive a certain data type, and you’re providing a different one.
Data Conversion: If you need to convert data before displaying it in the Input Dialog, make sure that the conversion is done correctly. For example, if you’re trying to display a number, ensure that you convert it to a string using the appropriate conversion method or expression.
Check the Input Value: Review the specific input value that you’re trying to pass to the Input Dialog. It could be a variable or an expression. Make sure this value is valid and of the expected data type.
Testing: Try testing the Input Dialog activity with simple values to see if the error persists. Start with a hardcoded value to see if the issue is related to the specific data you’re trying to input.
Debugging: Use UiPath’s debugging tools to step through your workflow and see where the error occurs. This can help you pinpoint the exact activity or step that’s causing the problem.
Log Information: Add logging activities in your workflow to capture the values of variables or expressions before they are used in the Input Dialog. This can help you identify any unexpected data.
Version and Environment: Ensure that you are using the same version of UiPath as others, and that your environment (e.g., Excel version) matches the one used by others who are not experiencing this issue.