token 보낼때 headers를 명시해 주어야 한다. 서버에서 headers가 없으면 token을 인식하지 못한다.
null 값으로라도 보내주어야 한다.
return axios({
method: "POST",
url: `${ROOT_URL}`,
data: req.data,
headers: req.headers ? req.headers : null,
});
'Error' 카테고리의 다른 글
AWS S3 버킷 AccessDenied 문제 (0) | 2021.06.04 |
---|---|
"Could not establish connection to "[server_name]": Remote host key has changed, port forwarding is disabled." (0) | 2021.06.03 |
python: 'table already exists' (0) | 2021.06.02 |
AWS) EC2 Permission denied (pk) error (0) | 2021.06.02 |
TypeError: object.init() takes exactly one argument (the instance to initialize) 채널 관련 에러 (0) | 2021.06.02 |
댓글