Hello @红 蒋 , Thanks for using Microsoft Q&A Platform.
Sorry for the inconveniences as we only support English in this forum; please post a question in English so that community members can assist you on the same.
We apologize for any difficulty; we are attempting to avoid language misunderstandings. Hope you understand.
"I am using the Bing Search APIs with my Bing Search v7 key to crawl Bing web data in the webometric analyst software. However, during execution, I encounter a '401' error with the message 'subscription key invalid.' I am certain that my key is valid. How can I resolve this issue?"
Based on this information, looks like the subscription key provided is not valid. I would suggest regenerating the keys in the Azure portal->Bing Resources->keys and endpoint.
Once the new keys are generated copy and paste the latest key and try again.
Also, try to check these things: https://learn.microsoft.com/en-us/bing/search-apis/bing-news-search/reference/error-codes#error-codes
I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.