I am trying to get the (“URL”,“Type”) value for the ContentDocumentLinks token but whenever I am trying to access the token its giving me the below error
Exception has been thrown by the target of an invocation
Hi @sanjeetsashank.mohanty
The issue is happening because ContentDocumentLinks.records is an array
Can you try this
item.SelectToken(“ContentDocumentLinks.records[0].attributes.type”).ToString()
item.SelectToken(“ContentDocumentLinks.records[0].attributes.url”).ToString()