# Requests to this API gdmscience.googleapis.com method google.gdm.gdmscience.alphagenome.v1main.DnaModelService.PredictVariant are blocked

**URL:** <https://www.alphagenomecommunity.com/t/requests-to-this-api-gdmscience-googleapis-com-method-google-gdm-gdmscience-alphagenome-v1main-dnamodelservice-predictvariant-are-blocked/635>\
**Category:** Help & Support\
**Created:** [August 28, 2025, 2:05pm UTC](https://www.alphagenomecommunity.com/t/requests-to-this-api-gdmscience-googleapis-com-method-google-gdm-gdmscience-alphagenome-v1main-dnamodelservice-predictvariant-are-blocked/635 "2025-08-28T14:05:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lei\_Xia](https://yyz2.discourse-cdn.com/watermelon/user_avatar/www.alphagenomecommunity.com/lei_xia/32/513_2.png) [@Lei\_Xia](https://www.alphagenomecommunity.com/u/Lei_Xia)\
**Post date:** [August 28, 2025, 2:05pm UTC](https://www.alphagenomecommunity.com/t/requests-to-this-api-gdmscience-googleapis-com-method-google-gdm-gdmscience-alphagenome-v1main-dnamodelservice-predictvariant-are-blocked/635/1 "2025-08-28T14:05:47Z")

</div>

Hi, I’m trying to use AlphaGenome according to [Installation — AlphaGenome](https://www.alphagenomedocs.com/installation.html). I added API key to secrets as recommended, and tried to run the following scripts:

> “from alphagenome.data import genome  
> from alphagenome.models import dna\_client  
> from alphagenome.visualization import plot\_components  
> import matplotlib.pyplot as plt
> 
> API\_KEY = ‘MyAPIKey’  
> model = dna\_client.create(API\_KEY)
> 
> interval = genome.Interval(chromosome=‘chr22’, start=35677410, end=36725986)  
> variant = genome.Variant(  
> chromosome=‘chr22’,  
> position=36201698,  
> reference\_bases=‘A’,  
> alternate\_bases=‘C’,  
> )
> 
> outputs = model.predict\_variant(  
> interval=interval,  
> variant=variant,  
> ontology\_terms=[‘UBERON:0001157’],  
> requested\_outputs=[dna\_client.OutputType.RNA\_SEQ],  
> )

, which is an example in [google-deepmind/alphagenome: This API provides programmatic access to the AlphaGenome model developed by Google DeepMind.](https://github.com/google-deepmind/alphagenome) However I got the error as follows:

> “grpc.\_channel.\_MultiThreadedRendezvous: \<\_MultiThreadedRendezvous of RPC that terminated with:  
> status = StatusCode.PERMISSION\_DENIED  
> details = “Requests to this API Problems in using API method google.gdm.gdmscience.alphagenome.v1main.DnaModelService.PredictVariant are blocked.”  
> debug\_error\_string = “UNKNOWN:Error received from peer ipv4:142.250.74.74:443 {grpc\_message:“Requests to this API Problems in using API method google.gdm.gdmscience.alphagenome.v1main.DnaModelService.PredictVariant are blocked.”, grpc\_status:7}”

, which I raised in predict\_variant step. I also checked that “Google DeepMind Science API“ is enabled. Could you please give some suggestions on this?

---

<div class="post-metadata">

**Author:** ![Daniel\_Scott](https://yyz2.discourse-cdn.com/watermelon/user_avatar/www.alphagenomecommunity.com/daniel_scott/32/485_2.png) [@Daniel\_Scott](https://www.alphagenomecommunity.com/u/Daniel_Scott)\
**Post date:** [August 29, 2025, 10:54am UTC](https://www.alphagenomecommunity.com/t/requests-to-this-api-gdmscience-googleapis-com-method-google-gdm-gdmscience-alphagenome-v1main-dnamodelservice-predictvariant-are-blocked/635/2 "2025-08-29T10:54:52Z")

</div>

Hello Lei\_Xia,

Thanks for reaching out. In order to assist further may I ask if you signed up and generated API key via the website [here](https://deepmind.google/discover/blog/alphagenome-ai-for-better-understanding-the-genome/)?

---

<div class="post-metadata">

**Author:** ![Lei\_Xia](https://yyz2.discourse-cdn.com/watermelon/user_avatar/www.alphagenomecommunity.com/lei_xia/32/513_2.png) [@Lei\_Xia](https://www.alphagenomecommunity.com/u/Lei_Xia)\
**Post date:** [August 29, 2025, 11:25am UTC](https://www.alphagenomecommunity.com/t/requests-to-this-api-gdmscience-googleapis-com-method-google-gdm-gdmscience-alphagenome-v1main-dnamodelservice-predictvariant-are-blocked/635/3 "2025-08-29T11:25:02Z")

</div>

Hi,

Thanks for your quick response. I think I generated the key on other website. I have generated a new one, and I’ll try whether it works. Thanks again!

Best regards,  
Lei

Daniel Scott via AlphaGenome \<[notifications@watermelon.discoursemail.com](mailto:notifications@watermelon.discoursemail.com)\>于2025年8月29日 周五14:04写道：
