Deleting with React Redux delete request

I need help, I’m new to this.
When i click on delete product button i get DELETE error http://localhost:4000/characteristics-values 401 (Unauthorized)
ProductItem.tsx

const product: IGetProductById = useSelector((state: RootState) => state.products.currentProduct); 


    
const handleDeleteProduct = () => {
        dispatch(deleteProductRequest(product));
        goBack();
      };

product.action.tsx

// delete product
export const deleteProductRequest = (product: IGetProductById): IActions => ({
  type: DELETE_PRODUCT_REQUEST,
  data: product,
});