Seeing error message from network tab, but not in the try/catch console.log(error)
Solved it by accessing err.response through catch
.catch(function (err) {
console.log(err.response)
})
Solved it by accessing err.response through catch
.catch(function (err) {
console.log(err.response)
})