title: VueX / Nuxt Store returns failed with status code 400
body: <p>I'm having an issue with my store to get categories from an API, using Nuxt and Axios.  This is my request located in my index.js file, in my store folder.</p>
  <pre><code>export const state = () =&gt; ({
      categories: []
  })
  
  export const getters = {
      categories (state) {
          return state.categories
      }
  }
  
  export const mutations = {
      SET_CATEGORIES (state, categories) {
          state.categories = categories
      }
  }
  
  export const actions = {
      async nuxtServerInit({ commit }) {
          let response = await this.$axios.$get('categories')
  
          commit('SET_CATEGORIES', response.data)
      }
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/hsLYa.png" rel="nofollow noreferrer">This is the response I receive after Nuxt has built the app</a></p>
  <p>Thanks and hope someone can help.</p>