Const
403 Forbidden
The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
401 Unauthorized
import { FORBIDDEN } from 'costatus'; Copy
import { FORBIDDEN } from 'costatus';
https://developer.mozilla.org/docs/Web/HTTP/Status/403
403 Forbidden
The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike
401 Unauthorized
, the client's identity is known to the server.https://developer.mozilla.org/docs/Web/HTTP/Status/403