Warnings Returned from Successful Metadata Save Operations

For objects in both the Tooling API and Metadata API WSDLs, you can indicate that you want error-free save operations to complete successfully, returning any warnings. The default behavior of Tooling API is to fail the operation without returning the warnings.

To have an error-free save operation complete successfully and return any generated warnings, specify the header ignoreSaveWarnings in your HTTP request.