Why this error is showing?


what could be the posssible problem?

1 Like

Hey @ydash999

There is an invalid JSON result which you are trying to deserialize, and what type have you chose in the props ?

Thanks
#nK

result is of string. i dont know whats the problem

1 Like

Hey @ydash999

Could you please show me the JSON response you are getting from the request activity ?

or

Also DeserializeJSON props if you can show…

Thanks
#nK

Hello @ydash999 ,

Check whether the below post can help you.

Deserialize JSON: Unexpected character encountered while parsing value: {. Path ‘’, line 1, position 1 - Help - UiPath Community Forum


1 Like

this didnt help bro. could not get it

Hey @ydash999

I think there is some error in request building…

What’s the endpoint you are trying to hit & show the props of the API activity please…

May be you are using a GET request instead of POST

Thanks
#nK

1 Like

Hey @ydash999

You can refer orchestrator API swagger documentation…

{{orchestratorURL}}/swagger

Else, please show us the endpoint to suggest please…

Thanks
#nK

1 Like


here is the endpoint bro

i watched a video and did exactly like that, still the error bro

1 Like

Hey @ydash999

So, you want to get list of folders from orchestrator is that correct ?

Thanks
#nK

Hey @ydash999

If the above is true.

Just remove the word orchestrator_ from your endpoint URL and make the request method as GET again please.

Hope that helps.

Thanks
#nK

same error is showing bro

1 Like

yes! i want all the folders

1 Like

Hey @ydash999

Please check if your orchestrator URL is right !

Also use exact endpoint as here after your orchestrator URL - /odata/Folders

And use the method type as GET

This way is working fine for me !

Thanks
#nK

i have copy and pasted from postman only. it is correct. dont know why still error is showing.

1 Like

Hey @ydash999

In postman was it working ?

Thanks
#nK

have not tried there. but i copied the links from UiPath Connector Guide
and did everything by watching a video. all was good in that video, but in my system it is showing error

1 Like

Hello @ydash999 ,

Better you can test it with postman as well.