Page 1 of 1

Bulk Insert in Google BigQuery error

Posted: Mon 18 Feb 2019 21:10
by coa
You already see this error?

[Devart BigQuery Destination [20]] Error: System.Exception: An exception has occurred during insert operation, the message returned from the provider is:
Value can not be null.
Parameter Name: requestUriString ---> Devart.Data.BigQuery.BigQueryException: Value can not be null.
Parameter Name: requestUriString ---> System.ArgumentNullException: Value can not be null.
Parameter Name: requestUriString
em System.Net.WebRequest.Create(String requestUriString)
em Devart.Data.Rest.b.a(String A_0, String A_1, String A_2, String A_3, Dictionary`2 A_4, Nullable`1 A_5)
em Devart.Data.Rest.c.g7(String A_0, String A_1, Stream A_2, String A_3, Dictionary`2 A_4, h A_5, Nullable`1 A_6, Nullable`1 A_7, Nullable`1 A_8, String A_9)
em Devart.Data.BigQuery.ab.b.a()
em Devart.Data.bd.a[a](Boolean A_0, Int32 A_1, Func`1 A_2)
--- Fim do rastreamento de pilha de exceções internas ---
em Devart.Data.bd.a[a](Boolean A_0, Int32 A_1, Func`1 A_2)
em Devart.Data.BigQuery.ab.a(String A_0, String A_1, Stream A_2)
em Devart.Data.BigQuery.e.a()
em Devart.Data.BigQuery.e.hg()
em Devart.SSIS.BigQuery.BigQueryDestination.ProcessResults(PipelineBuffer buffer, IDTSOutput100 output, IDTSOutput100 errorOutput, Boolean redirect)
em Devart.SSIS.SqlShim.DestinationComponent.ProcessInput(Int32 inputID, PipelineBuffer buffer)
--- Fim do rastreamento de pilha de exceções internas ---
em Devart.SSIS.SqlShim.DestinationComponent.ProcessInput(Int32 inputID, PipelineBuffer buffer)
em Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)

Re: Bulk Insert in Google BigQuery error

Posted: Fri 22 Feb 2019 17:50
by Pinturiccio
We have answered you via e-mail.

Re: Bulk Insert in Google BigQuery error

Posted: Fri 22 Feb 2019 18:19
by coa
Hi,

We see at a POST that works and the other that does not work and the problem is the field "selfLink", that will be use do do the future command DELETE, and how this fileld does not exists at the respose message, this command will be executed at a null value in the System.Net.WebRequest.Create(String requestUriString) generating the exception "Value can not be null".

The requests are the same, but the response are little differents.

All the responses that works are from "Server: GSE", that does not works are from "Server: ESF".

Re: Bulk Insert in Google BigQuery error

Posted: Mon 25 Feb 2019 15:49
by Pinturiccio
We have fixed the "Value can not be null. Parameter Name: requestUriString" error. We will post here when the corresponding build of SSIS Data Flow Components for BigQuery is available for download.

However, we can't tell approximately when it will be available.

The internal build is a full-featured SSIS Data Flow Components build, and can be used in the same way as the public build. You can download the internal build of SSIS Data Flow Components with this change from our site http://devart.com/pub/devartssis1_10_892.exe

The internal build is a full-featured SSIS Data Flow Components build and can be used in the same way as a public build.

Please post here about the results of using this internal build.

Re: Bulk Insert in Google BigQuery error

Posted: Thu 28 Feb 2019 15:54
by coa
This component is generating another error.

Maybe it does not reading the bucket name property.

System.Exception: An exception has occurred during insert operation, the message returned from the provider is:
userxxx does not have storage.buckets.get access to default. ---> Devart.Data.BigQuery.BigQueryException: userxxx does not have storage.buckets.get access to default.
at Devart.Data.bd.a[a](Boolean A_0, Int32 A_1, Func`1 A_2)
at Devart.Data.BigQuery.ab.a(String A_0)
at Devart.Data.BigQuery.e.g9()
at Devart.SSIS.SqlShim.DestinationComponent.ProcessInput(Int32 inputID, PipelineBuffer buffer)
--- End of inner exception stack trace ---
at Devart.SSIS.SqlShim.DestinationComponent.ProcessInput(Int32 inputID, PipelineBuffer buffer)
at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)

Re: Bulk Insert in Google BigQuery error

Posted: Thu 07 Mar 2019 14:59
by Pinturiccio
coa wrote:userxxx does not have storage.buckets.get access to default.
This issue occurs when using the default bucket because of BigQuery limitations. This bucket doesn't suit for operations involving BigQuery API.

Please try using another bucket in your connection.

Re: Bulk Insert in Google BigQuery error

Posted: Thu 21 Mar 2019 21:06
by coa
The root cause of the problem was fixed by Google team.

https://issuetracker.google.com/issues/128847197