---
title: INGESTION_GATEWAY_PG_PUBLICATION_CREATION_FAILED error condition
description: Documentation for the INGESTION\_GATEWAY\_PG\_PUBLICATION\_CREATION\_FAILED error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/ingestion-gateway-pg-publication-creation-failed-error-class
---

# INGESTION\_GATEWAY\_PG\_PUBLICATION\_CREATION\_FAILED error condition

[SQLSTATE: 42000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Failed to create replication publication for `<entityType>` '`<entityName>`'
Error message: `<errorMessage>`

## INSUFFICIENT\_PRIVILEGE

due to insufficient privilege. Please grant the '`CREATE`' on database privilege and '`ALTER`' table owner to the replication user.

## UNKNOWN\_ERROR

due to unknown error. Please check SQLState and refer to [https://www.postgresql.org/docs/current/errcodes-appendix.html](https://www.postgresql.org/docs/current/errcodes-appendix.html).
