I am not able make api hit

I created a token with read write permission
curl -H “Authorization: Bearer YOUR_ACTUAL_HUGGING_FACE_TOKEN” https://huggingface.co/api/whoami

passed the bearer token I created

I am getting continues
{
“error”: “Invalid credentials in Authorization header”
}

1 Like

Try whoami-v2.