Verify the endpoint should be a string