DOCUMENTATION
/
Get started
Guides
Developer
Reference
Release notes
Tutorials
Status
  1. Overview
    • Release notes
    • All release notes
      • Snowflake server release notes and feature updates
      • Streamlit in Snowflake release notes
        • Client, driver, and library release notes
          1. Monthly release notes
          2. Client versions & support policy
          3. Snowflake Connector release notes
            1. Snowflake Connector for Google Analytics Raw Data
              • Snowflake Connector for Google Analytics Aggregate Data
                • Snowflake Connector for ServiceNow V2
                  • Snowflake Connector for MySQL
                    • Snowflake Connector for PostgreSQL
                      • Snowflake Connector for Sharepoint
                        • Native SDK for Connectors
                          1. Native SDK for Connectors Java library
                            • Native SDK for Connectors Java Test library
                              • Native SDK for Connectors Java Template
                                • Native SDK Example Java GitHub Connector
                              • Snowflake Openflow release notes
                                • Behavior changes
                                • Behavior change announcements
                                    1. About behavior changes
                                      • Behavior change policy
                                        • Behavior change management
                                          • Current bundles
                                          • 2025_07 Bundle (Preview)
                                              1. SQL Changes - General
                                              2. Catalog-linked database: USAGE privilege on CATALOG INTEGRATION and EXTERNAL VOLUME required for database owner role for all operations (Preview)
                                                • SQL general: New default column sizes for string and binary data types (Preview)
                                                  • VARIANT data: Rounding changes to some of the fixed numeric values cast to floating-point (Preview)
                                                    • SQL parameters: Disallow setting date and time output formats to AUTO (Preview)
                                                      • SQL Changes - Commands & Functions
                                                      • Access control: Disallow GRANT REFERENCE_USAGE if GRANT USAGE isn’t set first (Preview)
                                                        • New error code for function-related errors (Preview)
                                                          • Virtual Warehouses
                                                          • Warehouses: Enable QAS by default for newly created Gen2 and multi-cluster warehouses (Preview)
                                                            • Data Pipelines
                                                            • Streams: Updates to stream replication (Preview)
                                                              • Data Governance
                                                              • Data quality: Default schedule for data metric functions (Preview)
                                                                • Web Interface Changes
                                                                • Snowflake Notebooks: replication (Preview)
                                                                  • New Column in View or Command
                                                                  • COLUMNS view (multiple schemas): New column (Preview)
                                                                    • LOGIN_HISTORY view and functions: New LOGIN_DETAILS column (Preview)
                                                                      • SHOW COMPUTE POOL and DESCRIBE COMPUTE POOL commands: New column in output (Preview)
                                                                        • SHOW WAREHOUSES command: New column in output (Preview)
                                                                          • TABLE_STORAGE_METRICS and TABLES views (ACCOUNT_USAGE, ORGANIZATION_USAGE): New columns (Preview)
                                                                        • 2025_06 Bundle (Disabled by default)
                                                                        • 2025_05 Bundle (Enabled by default)
                                                                        • 2025_04 Bundle (Generally enabled)
                                                                        • Previous bundles
                                                                          1. 2025_03 Bundle
                                                                          2. 2025_02 Bundle
                                                                          3. 2025_01 Bundle
                                                                          4. 2024_08 bundle
                                                                          5. 2024_07 bundle
                                                                          6. 2024_06 bundle
                                                                          7. 2024_05 bundle
                                                                          8. 2024_04 bundle
                                                                          9. 2024_03 bundle
                                                                          10. 2024_02 bundle
                                                                          11. 2024_01 bundle
                                                                          12. 2023_08 bundle
                                                                          13. 2023_07 bundle
                                                                          14. 2023_06 bundle
                                                                          15. 2023_05 bundle
                                                                          16. 2023_04 bundle
                                                                          17. 2023_03 bundle
                                                                          18. 2023_02 bundle
                                                                          19. 2023_01 bundle
                                                                          20. Earlier bundles
                                                                          21. Unbundled changes
                                                                      • Recent improvements
                                                                      • Performance improvements
                                                                      • SQL improvements
                                                                        • Feature information
                                                                        • Preview features
                                                                          Release notesBehavior change announcements2025_07 Bundle (Preview)New error code for function-related errors (Preview)

                                                                          New error code for function-related errors (Preview)¶

                                                                          Attention

                                                                          This behavior change is in the 2025_07 bundle.

                                                                          For the current status of the bundle, refer to Bundle History.

                                                                          The error code of messages that are returned when there is a problem with a function call are changing as follows:

                                                                          Before the change:

                                                                          The error code of function-related errors is 002140. For example:

                                                                          002140=SQL compilation error: Unknown function

                                                                          After the change:

                                                                          The error code of function-related errors is 002139. For example:

                                                                          002139=SQL compilation error: Unknown function

                                                                          As part of this change, Snowflake returns additional information when an error occurred because the caller didn’t have the correct access control privileges.

                                                                          Ref: 2124

                                                                          Was this page helpful?

                                                                          Visit Snowflake
                                                                          Join the conversation
                                                                          Develop with Snowflake
                                                                          Share your feedback
                                                                          Read the latest on our blog
                                                                          Get your own certification
                                                                          Privacy NoticeSite TermsCookies Settings© 2025 Snowflake, Inc. All Rights Reserved.
                                                                          Language: English
                                                                          • English
                                                                          • Français
                                                                          • Deutsch
                                                                          • 日本語
                                                                          • 한국어
                                                                          • Português