Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Write Tags" error when deploying #1997

Open
Treuveni opened this issue Sep 26, 2024 · 2 comments
Open

"Write Tags" error when deploying #1997

Treuveni opened this issue Sep 26, 2024 · 2 comments

Comments

@Treuveni
Copy link

This issue is for a:

- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

When running azd deploy on a newly created app, the deployment gets stuck and times out eventually. In the activity log, there is an error "Write tags"

Any log messages given by the failure

"properties": {
"statusCode": "BadRequest",
"serviceRequestId": null,
"statusMessage": "{"error":{"code":"InvalidTagValueLength","message":"Tag value too large. Following tag value 'InstrumentationKey=12561a3c-4b73-4558-a76d-ff3050458316;IngestionEndpoint=https://switzerlandnorth-0.in.applicationinsights.azure.com/;LiveEndpoint=https://switzerlandnorth.livediagnostics.monitor.azure.com/;ApplicationId=f410f852-cfae-4e61-9db6-4da3b2705e0c' exceeded the maximum length. Maximum allowed length for tag value - '256' characters."}}",
"eventCategory": "Administrative",
"message": "Microsoft.Resources/tags/write",

Expected/desired behavior

The app should de deployed without this error

azd version?

azd version 1.10.1 (commit 31409a33266fb4a5fdbb644bc83988e725d6c7c9)

Mention any other details that might be useful

I tried disabling / chainging some tag settings in the bicep file, but it didn't resolve the issue.

@pamelafox
Copy link
Collaborator

Hm, I have not seen that error. Can you check the deployment link to see what resource it was provisioning when it got that error?

There's also discussion of a similar error here:
https://stackoverflow.com/questions/78918734/azure-java-app-service-fails-to-start-due-to-tag-value-too-large-error-in-appl

@cforce
Copy link

cforce commented Sep 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants