The schema for building (https://github.com/CiscoDevNet/terraform-provider-catalystcenter/blob/main/docs/resources/building.md) is wrong.
These fields are mentioned as Optional
- address (String) The address of the building
- latitude (Number) Latitude
- longitude (Number) Longitude
But in fact one of them is required in CC 2.3.7.9, it returns Error 400 ("NCDM0067: The request body is invalid. NCND10502: Either latitude/longitude or address is required".
The schema for building (https://github.com/CiscoDevNet/terraform-provider-catalystcenter/blob/main/docs/resources/building.md) is wrong.
These fields are mentioned as Optional
But in fact one of them is required in CC 2.3.7.9, it returns Error 400 ("NCDM0067: The request body is invalid. NCND10502: Either latitude/longitude or address is required".