TheCodeBuzz

Best Practices for Software Development

  • Home
  • Series
    • .NET Core
    • Design Pattern
    • Code Smell
    • Angular
    • React
    • Vue.js
    • IoT
  • About

Azure.RequestFailedException – The specified resource name contains invalid characters

Home >Azure>Azure.RequestFailedException – The specified resource name contains invalid characters

Today in this article, we will cover below aspects,

  • Issue Description
  • Resolution

Issue Description

Azure cloud operations using .NET gives the below error,

Azure.RequestFailedException :’The specified resource name contains invalid characters.’
Status: 400 (The specifed resource name contains invalid characters.)
ErrorCode: InvalidResourceName

The specified resource name contains invalid characters,azure

Resolution

The issue might surfaced when you are dealing with the Azure Storage account or Blob operations on the data like upload or download of the data.

You might get this issue due to some other reason as well.

I was able to resolve the issue by following the Naming conventions which need to be used for Azure Storage Container Names and Blob Names.

  • name must be lowercase.
  • names must be > 3 character and < 63 characters.
  • names must only contain letters, numbers, and if needed (-) character is allowed.

By following the above guidelines I was able to create a new container and was able to upload or download blog storage and was able to resolve the issue successfully.

The specified resource name contains invalid characters

References:

  • Create Container and Azure Blob storage in Azure Cloud
  • Blob storage Upload/DownLoad data in Azure Cloud

That’s all! Happy coding!

Does this help you fix your issue?

Do you have any better solutions or suggestions? Please sound off your comments below.



Please bookmark this page and share it with your friends. Please Subscribe to the blog to receive notifications on freshly published(2024) best practices and guidelines for software design and development.



facebookShare on Facebook
TwitterPost on X
FollowFollow us
PinterestSave

Post navigation

Log4Net Rolling file with Date in FileName
Continuous Code Quality using NDepend
get-free-ebook-micro-services-guideline
blank

©TheCodeBuzz 2024. All rights reserved. Privacy Policy.

To serve the best User Experience on the website, we use essential cookies. By clicking “Continue”, Please give consent to our privacy policy.
SettingsContinue to Site
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
RSS
Follow by Email
Facebook
fb-share-icon
X (Twitter)
Post on X
LinkedIn
Share