title: Strapi returns 404 error when fetching data from Gatsby
body: <p>I'm using this Gatsby starter : <a href="https://www.gatsbyjs.org/starters/Vagr9K/gatsby-material-starter" rel="nofollow noreferrer">https://www.gatsbyjs.org/starters/Vagr9K/gatsby-material-starter</a>
  as I was looking for something to introduce myself both to Gatsby and to Material UI.</p>
  
  <p>My first objective was to change Netlify CMS for Strapi CMS, I've followed these steps:</p>
  
  <ol>
  <li>Removed Netlify plugin, both from <em>gatsby-config.js</em>, <em>package.json</em> and make uninstall.</li>
  <li>Added Strapi to the project:
  
  <ol>
  <li><em>npm install --save gatsby-source-strapi</em>
  and add the plugin to <em>gatsby-config.js</em> </li>
  </ol></li>
  </ol>
  
  <p>Here's how I added the Strapi plugin to <em>gatsby-config.js</em>:</p>
  
  <p><a href="https://i.stack.imgur.com/HldE5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HldE5.png" alt="Strapi plugin"></a></p>
  
  <p>And here's the error I'm getting:</p>
  
  <p><a href="https://i.stack.imgur.com/fhF1Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fhF1Z.png" alt="Strapi 404 status code"></a></p>
  
  <p>I think it might be related to Gatsby not being able to contact the remote Strapi server, any idea on how to solve this?</p>