title: Expanding Activity URN within the Share API
body: <p>I'm trying to expand the <code>activity</code> URN within a share retrieved by the Share API.</p>
  <p>Here's my API request (notice the activity~ in the end):</p>
  <pre><code>https://api.linkedin.com/v2/shares?q=owners&amp;owners=urn:li:person:lKq9OL3DMf&amp;sortBy=LAST_MODIFIED&amp;sharesPerOwner=100&amp;projection=(elements*(*, activity~))
  </code></pre>
  <p>However, this is what I'm getting:</p>
  <pre><code>&quot;elements&quot;: [
          {
              &quot;activity!&quot;: {
                  &quot;message&quot;: &quot;URN Resolution failed for unknown reasons.: com.linkedin.r2.RemoteInvocationException: GatewayException{_serviceErrorCode=null}&quot;,
                  &quot;status&quot;: 500
              },
              &quot;owner&quot;: &quot;urn:li:person:lKq9OL3DMf&quot;,
              &quot;activity&quot;: &quot;urn:li:activity:6829030971896074240&quot;,
              &quot;edited&quot;: false,
              &quot;created&quot;: {
                  &quot;actor&quot;: &quot;urn:li:person:lKq9OL3DMf&quot;,
                  &quot;time&quot;: 1628167860945
              },
              &quot;distribution&quot;: {
                  &quot;linkedInDistributionTarget&quot;: {
                      &quot;visibleToGuest&quot;: true
                  }
              },
              &quot;clientApp&quot;: &quot;urn:li:developerApplication:4086541&quot;,
              &quot;text&quot;: {
                  &quot;text&quot;: &quot;Testing scheduled date draft NEW PROFILE&quot;
              },
              &quot;id&quot;: &quot;6829030971568918528&quot;,
              &quot;lastModified&quot;: {
                  &quot;actor&quot;: &quot;urn:li:csUser:0&quot;,
                  &quot;time&quot;: 1628167861021
              }
          },
      ...
  ]
  </code></pre>
  <p>If I try to get the activity's details (likes and comments) through the socialActions API, it does work indeed:</p>
  <p>API Call:</p>
  <pre><code>https://api.linkedin.com/v2/socialActions/urn:li:activity:6810873575264829440
  </code></pre>
  <p>API Response:</p>
  <pre><code>{
      &quot;commentsSummary&quot;: {
          &quot;totalFirstLevelComments&quot;: 1,
          &quot;aggregatedTotalComments&quot;: 5
      },
      &quot;$URN&quot;: &quot;urn:li:activity:6810873575264829440&quot;,
      &quot;likesSummary&quot;: {
          &quot;aggregatedTotalLikes&quot;: 1,
          &quot;likedByCurrentUser&quot;: false,
          &quot;totalLikes&quot;: 1
      },
      &quot;target&quot;: &quot;urn:li:activity:6810873575264829440&quot;
  }
  </code></pre>
  <p>May I know why I cannot expand the activity URN within the share API? It clearly works if I fetch it through socialActions</p>
  <p>Thanks.</p>