Welcome to the Alteryx Knowledge Base
Knowledge Base / Designer / Alteryx Designer: Error: "Operation not allowed during the transaction state" when writing to G...
Alteryx Designer: Error: "Operation not allowed during the transaction state" when writing to Google BigQuery using Output Data tool
Created/Edited -
Summary
Description
The Output Data tool gives the following error when writing to Google BigQuery:
operation not allowed during the transaction state
Reviewing the ODBC DSN trace captured according to this KB article may show the following errors:
ERROR 27228 Simba::BigQuery::GBQApiError::LogError: HTTP error: Not found: Job ... [code: 404][reason: notFound]
ERROR 27228 Simba::ODBC::Connection::BeginTransaction: [Simba][BigQuery] (100) HTTP Error 404: notFound ...
Reviewing the generic ODBC trace captured according to this KB article shows this error:
DIAG [HY000] [Simba][BigQuery] (100) HTTP Error 400: invalidQuery (Transaction control statements are supported only in scripts or sessions)
Issue
Environment
- Alteryx Designer
- All Versions
- Google BigQuery
- Simba ODBC Driver for Google BigQuery
- 2.5+
Prerequisites
Resolution
Solution A: Check the Enable Session option in the Google BigQuery DSN setup
- From the ODBC Data Source Administrator, open the Simba ODBC Driver for Google BigQuery DSN Setup window
- Select Advanced Options...
- Check the Enable Session option
- Click OK and then OK again on the Simba ODBC Driver for Google BigQuery DSN Setup window
- Run the workflow again
Solution B: Use a Google BigQuery Bulk Connection
Refer to the steps in the following Help documentation to set up the Google BigQuery Bulk Connection: Google BigQuery . The connection would be set up through the Data Connection Manager (DCM) which is available in Designer 2022.3+.Was this article helpful?