# ❌ Cannot run wandb verify against api.wandb.ai

**URL:** <https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [December 21, 2023, 4:06pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586 "2023-12-21T16:06:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![xnerhu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/xnerhu/32/1573_2.png) [@xnerhu](https://community.wandb.ai/u/xnerhu)\
**Post date:** [December 21, 2023, 4:06pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/1 "2023-12-21T16:06:45Z")

</div>

I’m struggling with error: Cannot run wandb verify against api.wandb.ai on windows 11  
Relogging, recreating access token didint work

PS C:\projects\nersent\prompusie\> wandb verify  
Find detailed logs for this test at:

PS C:\projects\nersent\prompusie\> python --version  
Python 3.10.10  
PS C:\projects\nersent\prompusie\> wandb --version  
wandb, version 0.16.1

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [December 26, 2023, 4:05pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/2 "2023-12-26T16:05:12Z")

</div>

Hi @xnerhu! Thank you for writing in!

Could you please downgrade wandb to an earlier version such as v0.15.12 and see if you are still running into this concern?

---

<div class="post-metadata">

**Author:** ![xnerhu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/xnerhu/32/1573_2.png) [@xnerhu](https://community.wandb.ai/u/xnerhu)\
**Post date:** [December 26, 2023, 6:00pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/3 "2023-12-26T18:00:03Z")

</div>

Still doesn’t work.

PS C:\projects\nersent\prompusie\> wandb --version  
wandb, version 0.15.12  
PS C:\projects\nersent\prompusie\> wandb verify  
Default host selected: [https://api.wandb.ai](https://api.wandb.ai)  
Find detailed logs for this test at: C:\Users\xnerhu\AppData\Local\Temp\tmpelujy1oq\wandb  
❌  
Cannot run wandb verify against [api.wandb.ai](http://api.wandb.ai)

It’s definitely not on my side, as my friend has the same exact issue. Also it doesn’t work on any machine I use wandb on. runpod, windows, macos.

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [December 26, 2023, 6:09pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/4 "2023-12-26T18:09:27Z")

</div>

Oh quick question!

Are you running this against the public cloud or against your local instance?

[Wandb verify](https://docs.wandb.ai/ref/cli/wandb-verify#docusaurus_skipToContent_fallback), will only work against the local instance you are using, and will not work with [wandb.ai](http://wandb.ai).

---

<div class="post-metadata">

**Author:** ![xnerhu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/xnerhu/32/1573_2.png) [@xnerhu](https://community.wandb.ai/u/xnerhu)\
**Post date:** [December 26, 2023, 7:01pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/5 "2023-12-26T19:01:30Z")

</div>

I’m not running local instance, I’m using only official cloud instance.

If that’s the case, then what about, which also occurs to me despite having correct authentication key

wandb: ERROR Error while calling W&B API: An internal error occurred. Please contact support. (\<Response [500]\>)

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [December 26, 2023, 10:21pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/6 "2023-12-26T22:21:56Z")

</div>

Are you seeing:  
`wandb: ERROR Error while calling W&B API: An internal error occurred. Please contact support. (<Response [500]>)`  
every time you call wandb.init? if so:

Could we try completely resetting your login information and see if that works for you?

1. run `rm ~/.netrc` (will remove and refreshes login credentials)
2. run `wandb login --relogin --cloud`

Or alternatively, in your testing script you can include:  
`wandb.login( key="<your api key>")`

---

<div class="post-metadata">

**Author:** ![xnerhu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/xnerhu/32/1573_2.png) [@xnerhu](https://community.wandb.ai/u/xnerhu)\
**Post date:** [December 27, 2023, 12:08pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/7 "2023-12-27T12:08:40Z")

</div>

> [@artsiom](#):
>
> wandb login --relogin --cloud

Tried those 2 approaches already, with no success.

Btw, the .netrc file looks like this:

```auto
machine api.wandb.ai
  login user
  password __PASSWORD__

```

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [December 27, 2023, 8:04pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/8 "2023-12-27T20:04:01Z")

</div>

Gotcha,  
Could you run:

```auto
import wandb
run = wandb.init()
run.log({"test":1234})
run.finish()

```

And then send me the full console log output of that run.  
If the run throws an error, could you please provide the debug.log and debug-internal.log files associated with the run where you are running into this issue? These files should be located in the wandb folder relative to your working directory.

---

<div class="post-metadata">

**Author:** ![xnerhu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/xnerhu/32/1573_2.png) [@xnerhu](https://community.wandb.ai/u/xnerhu)\
**Post date:** [December 27, 2023, 8:41pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/9 "2023-12-27T20:41:24Z")

</div>

I found the issue. I used emoji in the run name. I removed it and anow it works.

With emoji:  
ERROR Error while calling W&B API: An internal error occurred. Please contact support. (\<Response [500]\>)

---

<div class="post-metadata">

**Author:** ![xnerhu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/xnerhu/32/1573_2.png) [@xnerhu](https://community.wandb.ai/u/xnerhu)\
**Post date:** [December 27, 2023, 8:41pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/10 "2023-12-27T20:41:37Z")

</div>

Thanks @artsiom for your help.

---

<div class="post-metadata">

**Author:** ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)\
**Post date:** [December 27, 2023, 9:04pm UTC](https://community.wandb.ai/t/cannot-run-wandb-verify-against-api-wandb-ai/5586/11 "2023-12-27T21:04:42Z")

</div>

That’s great news! Thank you for the update, that is good to know.

Happy Holidays! 🙂
