Error in studio-"Get Queue Items: Attempted to access an element as a type incompatible with the array."

Hello,
I’m getting this error while debugging the project. I’ve already tried 2 methods as updating the system package for the latest version and also i’ve tried to degrading the package version same as the studio version but none of them is worked. Can you help me with this issue?
Thanks in advance.

Hi @Dwightschrutee

Try degrading to the below version and check or delete the package from .nuget folder and then reopen the project

if error persists please share the xaml or a screenshot

Hope it helps!!

Hi @Dwightschrutee

Welcome to Community!!

Check on this thread

I hope it helps!!

Hi @Dwightschrutee

Try by
Reinstall Packages
Restart UiPath Studio
Verify Variables and Arguments

@Dwightschrutee

The error message “Get Queue Items: Attempted to access an element as a type incompatible with the array” means that you are trying to access an element in an array that is not of the same type as the other elements in the array. For example, if you have an array of strings and you try to access an element that is a number, you will get this error.

Another possibility is that you are trying to access an element in the array that is not actually there. For example, if you have an array of strings and you try to access the element with the index “10”, you will get this error because there is no element with that index in the array.

Hi, as i mentioned, i’ve already degraded the below version but it did not work.
For the .nuget folder, i couldn’t find the .nuget folder in the project folder.

Hi @Dwightschrutee

Try by
Reinstall Packages
Restart UiPath Studio
Verify Variables and Arguments

How are you get queue items activity configured? Check if your output is correctly using a Array variable of type QueueItems

@Dwightschrutee

Welcome to the community

  1. What is the type of variables you used
  2. What is the context in which this error is appearing

Please provide some screenshots and what youa re trying

I believe you are trying to give a array if queue items variable to output of get queue items …if so…remove it and in the field of output press ctrl+k and create a variabe and use it

Cheers

Hello,
I’m trying to delete all transactions on queue, i’ve added the related screenshots.
Thank you in advance.

what do you mean by verifying variables and arguments