API json

image

can anyoneone tell me why this error is come

What is the type argument of your deserialize json? in properties pannel ?

Regards,

Hi @Yogita_Gaikwad1

jsonobject(“results”)(“key”).tostring

pass the required value in place of key

In property type of argument is object

@Yogita_Gaikwad1


can you make it as

newtonsoft.json.linq.Jobject should be the type of argument

image

It has to be of this type

Regards

Again it shows ssame error

image

image
There should be 2 values . please check (“results”) and another value

Regards

image

this is my json file

image

again same error is come

@Yogita_Gaikwad1
jsonObject(“results”)(0)(“name”)(“first”).ToString

image
This Results { } is in the form of an array , so name is present in the 0th index , in name we need the “first” feild so , jsonObject(“results”)(0)(“name”)(“first”).ToString
Regards

show me the datatype of your jsonObject

Regards,

after the data type is changed error is gone but this error is come

Check out my xaml
Sequence - Json Details To Excel.zip (2.9 KB)
Regards,

This workflow is not open in my UiPath studio

why what happened ?

Can you send your older workflow let me check

Regards


[Sequence - Json Details To Excel.zip|attachment]

(upload://mXqfrtF2gFd8vFLQdOtwI4T70qT.zip) (2.9 KB)

Sequence - Json Details To Excel.xaml (14.3 KB)
Check this

again same error is come
image

kindly send your xaml