An announcement made via the Twitter account of Google Search Central:
This year, Google recently released a new API under the Search Console APIs for the URL Inspection Tool. The new URL Inspection API allows you to access the data and reports you’d obtain from the URL Inspection Tool programmatically, just like any other API.
Meanwhile, users reported that the error message would show “Oops! Something went wrong.”
In the meantime, Google said that they are fixing the said issue and advised users to wait until the problem will be fixed.