Skip to main content

Hi,  I'm currently facing an issue with the SharePoint Online connector version 3.7.3  My main goal is to retrieve the email of a given file's author, but unfortunately it is not directly available in the file metadata.  My idea is to first retrieve the user ID, and then its details.  I think this a feasible with the List Item Query module, but when I try to make a query, I always face the same error:    Cannot invoke "String.split(String)" because the return value of "javax.ws.rs.core.MultivaluedMap.getFirst(Object)" is null    For example, I tried a query this format:   783b7fa6-1623-4a5b-afc4-455cde3c02c2?\$filter=UniqueId eq '50691c9d-a199-468a-aeed-710fd40dd420'   without the \ too, following the format indicated in the documentation listId?queryString:   https://docs.mulesoft.com/sharepoint-connector/3.4/sharepoint-connector-reference#listItemQuery    The connector works well on other modules: On New Objects, File Get Content,...    Does someone knows if there is a better solution to get a File Author's email, and why I get the error above ?    Thanks in advance   

2 respuestas
  1. 25 ene, 20:53

    Hello, 

     

    Best way to solve this problem, Enable the debug package for SharePoint connector, it will give you URL , you just map with OData API Url from Microsoft . and form the quesry , it would solve the problem. 

     

    Else Just use Microsoft graph API as an alternative if you want. It will work 

     

    Thanks, 

    Manish Kumar Yadav 

    Trailblazer Community Forum Ambassadors 

     

     

0/9000