hide sharepoint 2019 Schema version and librabry version when trigger error

SinPeow 86 Reputation points
2021-09-27T06:27:15.253+00:00

Any idea to hide the SharePoint API version from error page ?

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,978 questions
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 37,866 Reputation points Microsoft Vendor
    2021-10-04T07:07:43.21+00:00

    Hi @SinPeow ,
    As far as I know, there is no such function to hide the response. The message is JSON text that must adhere to the JSON response structure.
    Please refer to the following link
    https://learn.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-csom/b8e83378-1c9c-4224-96c3-370aa78f5fa9


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.