Failed to invoke procedure `apoc.nlp.gcp.entities.stream`: Caused by: java.io.IOException

Hi,
I am using desktop version of Neo4j 4.0.3 with GDS and APOC (apoc-4.0.0.12-all.jar & apoc-nlp-dependencies-4.0.0.12.jar) plugins.
I issue following command in Cypher
MATCH (a:Article {uri: "https://neo4j.com/blog/pokegraph-gotta-graph-em-all/"})
CALL apoc.nlp.gcp.entities.stream(a, {
key: '',
nodeProperty: "body"
})
YIELD value
UNWIND value.entities AS entity
RETURN entity;

Whenever I execute the above command, I receive the following error:

Neo.ClientError.Procedure.ProcedureCallFailed

Failed to invoke procedure apoc.nlp.gcp.entities.stream: Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://language.googleapis.com/v1/documents:analyzeEntities?key=

I have the API key setup in my project and also enabled services in GCP project
NAME TITLE
endpoints.googleapis.com Google Cloud Endpoints
servicecontrol.googleapis.com Service Control API
servicemanagement.googleapis.com Service Management API

Please help in resolving the above issue.

Thanks & Regards,
Rajeev

Hi,
I am using desktop version of Neo4j 4.4.7 with (apoc-4.4.0.5.jar & apoc-nlp-dependencies-4.0.0.18.jar & n10s-4.4.0.1.jar & graph-data-science-2.0.4.jar & neo4j-jwt-addon-1.2.0.jar) plugins.
When I execute following Cypher code:

MATCH (a:Article {uri: "https://dev.to/lirantal/securing-a-nodejs--rethinkdb--tls-setup-on-docker-containers"})

CALL apoc.nlp.gcp.entities.stream(a, {

nodeProperty: 'body',

key: $key

})

YIELD node, value

SET node.processed = true

WITH node, value

UNWIND value.entities AS entity

RETURN entity

LIMIT 5;

The following error occurs.

Failed to invoke procedure `apoc.nlp.gcp.entities.stream`: Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://language.googleapis.com/v1/documents:analyzeEntities?key=AIzaSyAz-U.....

Please help me to solve this Issue.

Thanks

Asal

same issue here, it seems that this problem hasn't been solved for two years..