Instructions for finding account_id only work if you have a zone #1364
Comments
mm - we should update to point them to the account-level workers page. i believe it's on the right panel in that case |
correct. but also more than likely this belongs in docs. |
Huh somehow I missed that the account ID shows up on the Workers page. I thought I looked there.
Docs are great, but they wouldn't be a replacement for this message. |
i'm a dingus and thought you were talking about the readme. saying "account home" is probably ideal. |
Problem is that the account home doesn't actually have your account ID on it. :( It looks like we can't directly link to the worker page either, unless we already know the user's account ID... ugh. This will all be solved when we support an OAuth flow for configuration, of course... |
mm - i dont think it'll be solved with oauth since you'll still need to specify account + zone id. also - don't we have deeplinks or something? cc @neynah |
With OAuth, presumably you'd type |
hmm. yeah - we dont store account_id or zone_id globally since folks often have more than one of each, so they are per-project configuration instead of global configuration like your api key. would probably be nice to spit out list of available account ids when you would run |
Ohhh, I didn't know about I guess it's a little weird that our config file mixes deployment information with source code... seems like that makes it hard to, say, have an open source worker on github that anyone can deploy to their own account. Wonder if it makes sense to put account ID and script name in a separate file that could optionally not be checked in, or something. |
yas
this has definitely introduced issues. i think wrangler login and whoami could be instrumental in fixing this problem |
agreed @kentonv - i think we should definitely think about ways to better support per-developer settings that dont get checked in to version control. |
When you generate a new project, Wrangler writes:
This only works if you have a zone, but if you're using workers.dev exclusively, then you don't have any zone pages and so the mentioned sidebar doesn't show up anywhere.
I couldn't find anywhere in the UI that showed my account ID in this case. However, the account ID does appear in the URL.
The text was updated successfully, but these errors were encountered: