Can't get the Notification Token Please help?

Hello everyone,
I’m stuck at Notification sections please have a look at the error down below and please let me know the solution if could have thanks

Error getting a push token [Error: Error encountered while fetching Expo token, expected an OK response, received: 400 (body: “{“errors”:[{“code”:“VALIDATION_ERROR”,“message”:“The Expo push notification service is supported only for Expo projects. Ensure you are logged in to your Expo developer account on the computer from which you are loading your project.”,“isTransient”:false}]}”).]

import React, { useEffect } from "react";
import {createBottomTabNavigator} from '@react-navigation/bottom-tabs';

import ListingEditngScreen from '../sceens/ListingEditingScreen';
import FeedNavigator from "./FeedNavigator";
import AccountNavigator from "./AccountNavigator";
import {MaterialCommunityIcons} from '@expo/vector-icons';
import PlusButton from "./PlusButton";


import * as Notifications from "expo-notifications";
import * as Permissions from "expo-permissions";


const Tab = createBottomTabNavigator()



const AppNavigator = () => {
    useEffect(() => {
    registerForPushNotifications();
    },[2]);
    const registerForPushNotifications = async () => {
    try {
    const permission = await Permissions.askAsync(Permissions.NOTIFICATIONS);
    if(!permission.granted) return;
    
      const token = await Notifications.getExpoPushTokenAsync();
      console.log(token);
      
    } catch (error) {
      console.log("Error getting a push token", error);
      
    }
}

I have no idea how to solve it as my code exactly the same in the tutorial

please guide me out and your assistance is highly appreciated

1 Like