# Cannot use my username as token?

**URL:** <https://community.wandb.ai/t/cannot-use-my-username-as-token/17835>\
**Category:** W&B Help\
**Tags:** projects, wandb, beginner-friendly\
**Created:** [July 10, 2025, 4:01pm UTC](https://community.wandb.ai/t/cannot-use-my-username-as-token/17835 "2025-07-10T16:01:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ak\_chp1](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@ak\_chp1](https://community.wandb.ai/u/ak_chp1)\
**Post date:** [July 10, 2025, 4:01pm UTC](https://community.wandb.ai/t/cannot-use-my-username-as-token/17835/1 "2025-07-10T16:01:08Z")

</div>

I have created a new WandB account, installed wandb in my conda environment, then ran `wandb login` pasted an API key which created a `~/_metrc` file. Now in my Jupyter notebook, I am running the following:

```auto
import wandb
run = wandb.init(entity="ak_chp1", project="first-project")
run.log({"accuracy": 0.5, "loss": 10})

```

which is giving the following error:

```auto
---------------------------------------------------------------------------
CommError Traceback (most recent call last)
Cell In[17], line 1
----> 1 run = wandb.init(entity="ak_chp1", project="first-project")
      2 run.log({"accuracy": 0.5, "loss": 10})

File D:\Miniconda3\envs\Data_Science_n_ML_PT\Lib\site-packages\wandb\sdk\wandb_init.py:1620, in init(entity, project, dir, id, name, notes, tags, config, config_exclude_keys, config_include_keys, allow_val_change, group, job_type, mode, force, anonymous, reinit, resume, resume_from, fork_from, save_code, tensorboard, sync_tensorboard, monitor_gym, settings)
   1616 wl._get_logger().exception("error in wandb.init()", exc_info=e)
   1618 # Need to build delay into this sentry capture because our exit hooks
   1619 # mess with sentry's ability to send out errors before the program ends.
-> 1620 wandb._sentry.reraise(e)

File D:\Miniconda3\envs\Data_Science_n_ML_PT\Lib\site-packages\wandb\analytics\sentry.py:157, in Sentry.reraise(self, exc)
    154 self.exception(exc)
    155 # this will messily add this "reraise" function to the stack trace,
    156 # but hopefully it's not too bad
--> 157 raise exc.with_traceback(sys.exc_info()[2])

File D:\Miniconda3\envs\Data_Science_n_ML_PT\Lib\site-packages\wandb\sdk\wandb_init.py:1606, in init(entity, project, dir, id, name, notes, tags, config, config_exclude_keys, config_include_keys, allow_val_change, group, job_type, mode, force, anonymous, reinit, resume, resume_from, fork_from, save_code, tensorboard, sync_tensorboard, monitor_gym, settings)
   1603 if run_settings.x_server_side_derived_summary:
   1604 init_telemetry.feature.server_side_derived_summary = True
-> 1606 return wi.init(run_settings, run_config, run_printer)
   1608 except KeyboardInterrupt as e:
   1609 if wl:

File D:\Miniconda3\envs\Data_Science_n_ML_PT\Lib\site-packages\wandb\sdk\wandb_init.py:1018, in _WandbInit.init(self, settings, config, run_printer)
   1015 assert result.run_result
   1017 if error := ProtobufErrorHandler.to_exception(result.run_result.error):
-> 1018 raise error
   1020 if not result.run_result.HasField("run"):
   1021 raise Error("Assertion failed: run_result is missing the run field")

CommError: Error uploading run: returned error 403: {"data":{"upsertBucket":null},"errors":[{"message":"permission denied","path":["upsertBucket"],"extensions":{"code":"PERMISSION_ERROR"}}]}

```

Why I am not able to use my personal username as entity? Also, when I am using my team name which is created by default when I created the account as my entity, things are working, but that is temporary, I may not get team features after 27 days when the pro trial will be ended? What will happen then?
