Open braco opened 1 year ago
const json = await error.json(); ^ TypeError: error.json is not a function at getErrorMessage (wordpress-api-client/dist/util.js:35:30)
Errors often won't have a JSON response to parse, so this line will fail
Errors often won't have a JSON response to parse, so this line will fail