Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

wrangler.toml firing wrong error messages on publish #211

Closed
adaptive opened this issue Jun 4, 2019 · 4 comments · Fixed by #271
Closed

wrangler.toml firing wrong error messages on publish #211

adaptive opened this issue Jun 4, 2019 · 4 comments · Fixed by #271
Assignees
Labels
bug Something isn't working

Comments

@adaptive
Copy link
Contributor

adaptive commented Jun 4, 2019

wrangler.toml has zone_id and account_id missing routes

Error: ErrorMessage { msg: "You must provide a zone_id in your wrangler.toml before publishing!" }

wrangler.toml has account_id routes missing zone_id

Error: ErrorMessage { msg: "⛔ There was an error featching your project\'s routes.\n Status Code: 400 Bad Request\n Msg: {\"success\":false,\"errors\":[{\"code\":7003,\"message\":\"Could not route to \\/zones\\/workers\\/routes, perhaps your object identifier is invalid?\"},{\"code\":7000,\"message\":\"No route for that URI\"}],\"messages\":[],\"result\":null}" }

@ashleygwilliams ashleygwilliams added the bug Something isn't working label Jun 6, 2019
@ashleygwilliams ashleygwilliams self-assigned this Jun 6, 2019
@ashleygwilliams
Copy link
Contributor

thanks for filing and sorry you are running into this! i am pretty sure i know where the offending code is and will work to fix it- but if you were interested in submitting a patch i'd be happy to help mentor you! let me know!

@adaptive
Copy link
Contributor Author

adaptive commented Jun 7, 2019

@ashleygwilliams I will adventure with your PR challenge. I accept you mentoring 🍕

@derit
Copy link

derit commented Jun 8, 2019

i have solution for this error, you need fill in the wrangler.toml settings
zone_id
account_id and route

cc @ashleygwilliams

@longbkit
Copy link

I am experiencing the same too. Default template comes with empty zone_id and route but no clear instructions on the document.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants