Failed to load resource: the server responded with a status of 401 (Unauthorized) in react

when I try
npm start
the link account in a web browser it shows
`Failed to load resource: the server responded with a status of 401 (Unauthorized) localhost:8000/plaid/create_link_token:1
when i enter http://localhost:8000/plaid/create_link_token or http://localhost:8000/plaid/exchange_public_token
it show
{“detail”:“Method Not Allowed”}
what should I do ??

@chatofking A 401 “Unauthorized” error typically means you are not using the correct API keys and/or the base URL. Ensure you are using your broker API sandbox keys and the sandbox URL.

2 Likes

when i try to fetch using postman I got this error

 {
    "detail": "User is not authorized to access this resource. Check access token."
}