When I tried to retrieve the assets, I was not asked to select the folder and resulted as an error

Processes taken:

(1) Click “Submit”

(2) Error shows

NOTE: There is no problem when retrieving Users.

@shota.aiba

Welcome to forums

Can you check the outResult is of getting JSON format?

Thanks

Hello

The outResult was in XML format, not JSON format.
uipath4

Thanks

Hi

Remove @ symbol and give a try

If that xml is in a string use out_Result.ToString.TrimStart(“@“c) with a assign activity

And try parsing it

Cheers @shota.aiba

Hello

I’ve removed @ symbol.
It was removed, but with an Assign ParsedJSON error, @ symbol has came back.

Thanks

Hello Shota,

Can you also evaluate the value of the in_Endpoint argument, and share it with us, please?

Thank you!

@shota.aiba
the @ character is before the string, indicates that the string is treated as not parsed / unescaped string value and it is not part of the string content

Verbatim Strings

As you mentioned HTML is returned, so JToken Parsing is failling

as a JSON starts with { or [ and HTML/XML starts with < you can check if this criteria can be used for detecting the response case

1 Like

Hello

The in_Endpoint argument is below.

Thanks

@andra.dregan

Hello

Does anyone have any clue for the resolution?
If you require any other information, please feel free to let me know!

Thanks