<p dir="auto">Here is my interceptor</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="axios.interceptors.response.use((response) =&gt; {
  return response
}, function (error) {
  // Do something with response error
  if (error.response.status === 401) {
    auth.logout()
    router.replace('/login')
  }

  return Promise.reject(error)
})"><pre class="notranslate"><code class="notranslate">axios.interceptors.response.use((response) =&gt; {
  return response
}, function (error) {
  // Do something with response error
  if (error.response.status === 401) {
    auth.logout()
    router.replace('/login')
  }

  return Promise.reject(error)
})
</code></pre></div>
<p dir="auto">During this call which returns a 401, the interceptor is not triggered. I can catch the reject() where I called method.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="axios.get('/api/employees/')
      .then(response =&gt; {
        commit('SET_EMPLOYEE_LIST', response.data)
        resolve(response)
      })
      .catch(err =&gt; reject(err))"><pre class="notranslate"><code class="notranslate">axios.get('/api/employees/')
      .then(response =&gt; {
        commit('SET_EMPLOYEE_LIST', response.data)
        resolve(response)
      })
      .catch(err =&gt; reject(err))
</code></pre></div>
<ul dir="auto">
<li>axios version: v0.16.2</li>
<li>Environment: chrome 59, windows 10</li>
</ul>
<p dir="auto">#### Summary</p>
<p dir="auto">I searched through all the issues and double checked the ones referenced in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="218798071" data-permission-text="Title is private" data-url="https://github.com/axios/axios/issues/812" data-hovercard-type="issue" data-hovercard-url="/axios/axios/issues/812/hovercard" href="https://github.com/axios/axios/issues/812">#812</a> but my problem seems to be different.</p>
<p dir="auto">My problem is that creating an instance does not copy over or use the interceptors added to the global Axios.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import Axios from &quot;axios&quot;;

Axios.interceptors.request.use((config) =&gt; {
  console.log(&quot;Global Interceptor&quot;)
  return config;
});

const axiosInstance = () =&gt; {
  let instance = Axios.create();
  console.log(Axios.interceptors.request); // Has 1
  console.log(instance.interceptors.request); // Has 0
  return instance;
}

axiosInstance().post(&quot;/test&quot;, { testing: &quot;data&quot; }); // Doesn't output &quot;Global Interceptor&quot;
Axios.post(&quot;/test&quot;, { testing: &quot;data&quot; }); // Outputs &quot;Global Interceptor&quot;"><pre class="notranslate"><code class="notranslate">import Axios from "axios";

Axios.interceptors.request.use((config) =&gt; {
  console.log("Global Interceptor")
  return config;
});

const axiosInstance = () =&gt; {
  let instance = Axios.create();
  console.log(Axios.interceptors.request); // Has 1
  console.log(instance.interceptors.request); // Has 0
  return instance;
}

axiosInstance().post("/test", { testing: "data" }); // Doesn't output "Global Interceptor"
Axios.post("/test", { testing: "data" }); // Outputs "Global Interceptor"
</code></pre></div>
<p dir="auto">#### Context</p>
<ul dir="auto">
<li>Axios version: 0.16.2</li>
<li>Environment: Webpack 2.6.1, Chrome Canary 61.0.3147.0, Mac OS X</li>
</ul>