I am at lesson 28. when I press the place order button i get error message “Invalid Token”. Which is coming from utils.js in the backend folder. I checked someone had similar issue and a suggestion was to check utils.js. I have no mistake in utils.js but still getting message. I am stuck at this point for almost 1 week. could some body help ?
in the inspect i get below error
- Request URL:http://localhost:5000/api/orders
- Request Method:POST
- Status Code:401 Unauthorized
- Remote Address:[::1]:5000
- Referrer Policy:strict-origin-when-cross-origin