Skip to content

Missing required object name in CREATE OR REPLACE API INTEGRATION #61

Description

@Imran-imtiaz48

The statement

CREATE OR REPLACE API INTEGRATION
  API_PROVIDER = git_https_api

is invalid because an object name is required right after CREATE OR REPLACE API INTEGRATION. For example:

CREATE OR REPLACE API INTEGRATION github_api_integration
  API_PROVIDER = git_https_api
  API_ALLOWED_PREFIXES = ('https://github.com/your-profile/')
  ALLOWED_AUTHENTICATION_SECRETS = (course_repo.public.github_pat)
  ENABLED = TRUE;

Without providing the name (github_api_integration in this example), Snowflake will throw a syntax error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions