Skip to content
Bug Barometer
All issues
In Review

Platform / Custom Schema

Updating picklist values through tooling API not performing same validations as UI

Summary

When Deactivating a global picklist value, the system will validate if it is being used by any record type. If so, it'll abort picklist value deactivation and exception message would look like below :

"The picklist value you attempted to delete is the last value for the following record type.The picklist must contain at least one value.Either add one value to the picklist or to the following record type"

This is expected validation and we are not seeing similar validation when updating global picklist values through tooling API.

A patch request to "/services/data/v47.0/tooling/sobjects/GlobalValueSet/0Ntxx0000004C92CAE" with removed picklist value resulting into successful HTTP request and picklist for record type shows None for Selected Values.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as In Review with 1 report

    Nov 30, 2026

Updating picklist values through tooling API not performing same validations as UI · Bug Barometer