question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az staticwebapp update Operation returned an invalid status 'Bad Request'

See original GitHub issue

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az staticwebapp update

Errors:

Operation returned an invalid status 'Bad Request'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here…
  • az staticwebapp update -n {} -b {} -s {} -t {}

Expected Behavior

Environment Summary

Linux-5.4.0-1094-azure-x86_64-with-glibc2.35 (Cloud Shell), CBL-Mariner/Linux
Python 3.9.13
Installer: RPM

azure-cli 2.41.0

Extensions:
ai-examples 0.2.5
ml 2.10.0
ssh 1.1.2

Dependencies:
msal 1.20.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cocoojbscommented, Nov 2, 2022

@PramodValavala-MSFT I was able to do what I wanted to do: after running the Update command, I configured the “Deploy web app to Azure Static Web Apps” workflow from the Github repository. Deploy web app to Azure Static Web Apps" from the Github repository workflow, and the repository switch was successful. (I had to add a StaticWebapps deployment token to the repository secret to configure the workflow).

Thank you very much for your support!

1reaction
PramodValavala-MSFTcommented, Oct 25, 2022

@cocoojbs Could you share the full command (removing any personal information) and also the complete output when run using the --debug flag to provide more details here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Operation returned an invalid status 'Bad Request' when trying ...
Run az staticwebapp hostname set -n jamcloud --hostname blog.domain.com returns Operation returned an invalid status 'Bad Request'.
Read more >
Operation returned an invalid status 'Bad Request' during ...
Objective: Checking whether a resource group exist in given subscription on Azure with shell script (azure cli command) (runs as part of ...
Read more >
Azure – Operation returned an invalid status code 'BadRequest'
The command try to create the automation account in “France South” location in the “RG_INFRA” resource group. The error message was not explicit...
Read more >
Release notes & updates – Azure CLI - Microsoft Learn
Learn about the latest Azure Command-Line Interface (CLI) release notes and updates for both the current and beta versions of the CLI.
Read more >
az webapp auth update: Operation returned an invalid status ...
az webapp auth update: Operation returned an invalid status 'Bad Request' ... Write-Output "Authenticating with Azure AD to access the API.".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found