0👍
You should put a try catch around the axios call let response = await axios.get('groups/' + params.id)
line to see whats wrong.
try {
let response = await axios.get('groups/' + params.id);
} catch (err) {
console.error("Error response:");
console.error(err.response.data); // ***
console.error(err.response.status); // ***
console.error(err.response.headers); // ***
}
- [Vuejs]-Change hamburger icon color in Vue Bootstrap
- [Vuejs]-Why does apollo muation return "Expecting a parsed GraphQL document" inside vuex?
Source:stackexchange.com