Maggie,
The error message you're seeing indicates that there's an issue with the format of the account name you're using for your Bing Custom Search deployment. The error details suggest that the account name does not match the required pattern as specified by the API.
The pattern ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
means that the account name must:
- Start with an alphanumeric character (
a-z
,A-Z
,0-9
). - Follow with any number of alphanumeric characters or special characters like underscores (
_
), periods (.
), or hyphens (-
).
Your current account name "Website Search" contains a space, which is not allowed based on the regex pattern provided in the error message. To fix the issue, you'll need to remove the space and ensure that the account name only contains allowed characters.
Here's how you can resolve this:
- Go to the configuration where you're setting the account name for your Bing Custom Search deployment.
- Change the account name from "Website Search" to a valid name without spaces, such as "WebsiteSearch" or "Website_Search".
- Save the changes and attempt the deployment again.
Keep in mind that the account name should start with an alphanumeric character and should not begin with an underscore, period, or hyphen.
Once you've updated the account name to match the pattern, the deployment should proceed without this particular validation error. If you encounter further issues, the error messages provided should guide you towards the next steps for troubleshooting.
Please let us know if you have any further questions.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.