title: 404 when requesting a single entry in contentful
body: <p>I am trying to request a single entry from contentful CMS with the getEntry() method. I keep getting a 404. I really don't understand what am I doing wrong.</p>
  <pre><code>  export async function getStaticProps({ params }) {
    const p = params.id;
    const client = contentful.createClient({
      space: process.env.CONTENTFUL_SPACE_ID,
      environment: process.env.CONTENTFUL_ENVIRONMENT_ID,
      accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
    });
    const entry = await client.getEntry(p);
    return { props: { entry: entry } };
  }
  </code></pre>