No details on failed deployment

Hell guys, I was trying to deploy a new version of my application and I noticed several things. 1- the deployment failed but I have no idea why and the CF UI doesn't provide any detail about it. (the console says it was deployed successfuly) 2- the deployment associates a KV namespace which is not longer associated, so I wonder if it's cached or something: Any ideas?
No description
No description
No description
No description
10 Replies
seustace
seustace8mo ago
Hi Tonny, could you share the deployment id associated with that deployment?
Tonny
TonnyOP8mo ago
@seustace is it the last part of the url? 7abd6abd-638d-41ca-b73c-a27259ba1e5f
Walshy
Walshy8mo ago
Yep that's it Error is due to a re-used binding name, if you have another binding with what that KV binding name was - it'll be that. The deleted KV namespace will also cause issues. You'll need to make a new namespace so you can see the list and delete the now orphaned binding You see the get started if you have no namespaces.
Tonny
TonnyOP8mo ago
Gotcha, I'll give it a try, tyvm @Walshy | Deploying So I sorted out the KV binding, however deployment is still failing with no specific reason on it:dde0259e-002a-4def-80e2-ef5f8624746f any idea?
Walshy
Walshy8mo ago
the binding name 'DISCORD_ERRORS_CHANNEL_ID' cannot be used more than once
Tonny
TonnyOP8mo ago
what do you mean by more than once? b/c I've set it up on Prod and Preview envs?
Walshy
Walshy8mo ago
nah it will be used twice in the same env commonly happens if you have it as a secret + env var I'd check through all your bindings (including secrets)
Tonny
TonnyOP8mo ago
does it also count the wranger.toml secrets?
Walshy
Walshy8mo ago
yes, if you're using wrangler.toml that'll be the source of truth for your bindings
Tonny
TonnyOP8mo ago
I'll give it a try without the wranger.toml file then later today, tyvm
Want results from more Discord servers?
Add your server