"message": "The user does not belong to any Dasher customer.", "status": "INVALID_ARGUMENT" } }

117 Views Asked by At
error": {
    "code": 400,
    "message": "The user does not belong to any Dasher customer.",
    "status": "INVALID_ARGUMENT" while hitting Google Vault API to GET Matter List  

The request that I am sending looks like:

<?xml version="1.0" encoding="UTF-8"?>
<ns0:ActivityInput xmlns:ns0="tibco.com/namespaces/tnt/plugins/json">
   <URI>vault.googleapis.com/v1/matters</URI>
   <ns0avascript:Parameters>
      <Query />
      <Header>
         <Authorization>Bearer ya29.c.ElqmBrzx2cYzdY4fzcq_N6nsbPg0CUYH0DBBhyaxVsqSZBP3482yBXXJRZIrV_PZuWgGsc3sJyWapCJQaqEeLMNWpHbbHhTqWqEl800d9FvTcSyFYFLBrWZEiSM</Authorization>
         <Content-Type>application/json</Content-Type>
      </Header>
      <Body>
         <Text />
      </Body>
   </ns0:Parameters>
</ns0:ActivityInput>

What am I missing here?

1

There are 1 best solutions below

0
On

Calling the Google Vault API requires a GSuite account with admin access to Vault. Make sure that the account you did the Oauth with also has access to Vault capabilities at

https://ediscovery.google.com