Error: A value of type Restsharp.RestResponse cannot be set to the location because it is a location of type RestSharp.IRestResponse

Hello guys, I really need help with this
Am using an invoke code but am getting this error: A value of type Restsharp.RestResponse cannot be set to the location with name ‘Response’ because it is a location of type RestSharp.IRestResponse

Here is the code
image

Please guys, I will appreciate your help
Thank you!!

give a try by changing the datatype of response from RestSharp.IRestResponse to RestResponse response

Okay let me try this

No luck, get an error

please share allways details with us: what was done, what is the error. This will avoid ping-pong communications

What I mean, I have tried changing to RestResponse but still getting the error


would recommend to check out the used version of RestSharp and maybe its specifics.

e.g. client.ExecuteAsync(request).Result …