---
schema_version: "1"
id: f2f1a5c24e3a1c07aa5fffe8206e0f32ab0118bd82605e1c686a1b6d071c32ff
title: |-
  Allow Metadata Save Operations to Complete with Returned
      Warnings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_metadata_save_warning.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_metadata_save_warning.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5a3c153c2da743efeb577ea007e569dfc665a3ea8f58c9b9d7c4f49656876846
description: When a metadata save operation generates warnings, the default behavior of Tooling API is to fail the operation without returning the warnings. 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.
---
# Allow Metadata Save Operations to Complete with Returned Warnings

When a metadata save operation generates warnings, the default behavior of Tooling API is to fail the operation without returning the warnings. 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.

To indicate that you want error-free save operations to complete successfully, returning any generated warnings, specify the header ignoreSaveWarnings in your HTTP request.

There is also a SOAP header in Tooling API for saving metadata even if warnings are returned. See [MetadataWarningsHeader](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/api_tooling_soap_header_metadatawarningsheader.htm "Allows you to save metadata even if warnings are returned.").