Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurred during parsing: Fail to push limit. #538

Closed
dacdv opened this issue Feb 22, 2021 · 4 comments
Closed

Error occurred during parsing: Fail to push limit. #538

dacdv opened this issue Feb 22, 2021 · 4 comments
Assignees

Comments

@dacdv
Copy link

dacdv commented Feb 22, 2021

I'm developing code to Upload Offline Conversion follow https://developers.google.com/google-ads/api/docs/samples/upload-offline-conversion

Input parameters:
array (
'CUSTOMER_ID' => 8883494064,
'CONVERSION_ACTION_ID' => 1284113,
'GCLID' => '123456789',
'CONVERSION_DATE_TIME' => '2021-02-22 16:28:32',
'CONVERSION_VALUE' => 0,
)

But Error: Error occurred during parsing: Fail to push limit.

I don't know why, please suggest to me to fix this issue.

Thanks!

@PierrickVoulet
Copy link
Collaborator

Hi @dacdv - Could you provide us with some code to reproduce your issue and detailed logs?

@dacdv
Copy link
Author

dacdv commented Feb 26, 2021

Hi @dacdv - Could you provide us with some code to reproduce your issue and detailed logs?

Thanks PierrickVoulet,

I renew protobuf code to passed this step.

So I have new issue below (Are you suggest to me to fix this issue ? thanks so much!)

[TypeError]
Argument 1 passed to Google\ApiCore\Transport\RestTransport::Google\ApiCore\Transport{closure}() must be an instance of Exception, instance of Error given, called in /home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Promise/Promise.php on line 204 (0)
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/Google/ApiCore/Transport/RestTransport.php:129
#0: Google\ApiCore\Transport\RestTransport->Google\ApiCore\Transport{closure}(object)
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Promise/Promise.php:204
#1: GuzzleHttp\Promise\Promise::callHandler(integer, object, NULL)
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Promise/Promise.php:153
#2: GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}()
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Promise/TaskQueue.php:48
#3: GuzzleHttp\Promise\TaskQueue->run()
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Handler/CurlMultiHandler.php:158
#4: GuzzleHttp\Handler\CurlMultiHandler->tick()
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Handler/CurlMultiHandler.php:183
#5: GuzzleHttp\Handler\CurlMultiHandler->execute(boolean)
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Promise/Promise.php:248
#6: GuzzleHttp\Promise\Promise->invokeWaitFn()
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Promise/Promise.php:224
#7: GuzzleHttp\Promise\Promise->waitIfPending()
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Promise/Promise.php:269
#8: GuzzleHttp\Promise\Promise->invokeWaitList()
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Promise/Promise.php:226
#9: GuzzleHttp\Promise\Promise->waitIfPending()
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/GuzzleHttp/Promise/Promise.php:62
#10: GuzzleHttp\Promise\Promise->wait()
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/Google/Ads/GoogleAds/V6/Services/Gapic/ConversionUploadServiceGapicClient.php:239
#11: Google\Ads\GoogleAds\V6\Services\Gapic\ConversionUploadServiceGapicClient->uploadClickConversions(integer, array, boolean)
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/Google/Export/UploadOfflineConversion.php:143
#12: Google\Export\UploadOfflineConversion::runExample(object, integer, integer, string, string, double)
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/Google/Export/UploadOfflineConversion.php:82
#13: Google\Export\UploadOfflineConversion::upload(array)
/home/bitrix/www/bitrix/activities/custom/vibgoogleactivity/vibgoogleactivity.php:75
#14: CBPVIBGoogleActivity->Execute()
/home/bitrix/www/bitrix/modules/bizproc/classes/general/workflow.php:466
#15: CBPWorkflow->RunQueuedItem(object, integer, NULL)
/home/bitrix/www/bitrix/modules/bizproc/classes/general/workflow.php:443
#16: CBPWorkflow->RunQueue()
/home/bitrix/www/bitrix/modules/bizproc/classes/general/workflow.php:198
#17: CBPWorkflow->Start()
/home/bitrix/www/bitrix/modules/bizproc/classes/general/document.php:341
#18: CBPDocument::StartWorkflow(string, array, array, array)
/home/bitrix/www/bitrix/modules/crm/classes/general/crm_bizproc.php:88
#19: CCrmBizProc->StartWorkflow(string, array)
/home/bitrix/www/bitrix/components/vportal/crm.deal.editac/component.php:882
#20: include(string)
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#21: CBitrixComponent->__includeComponent()
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:680
#22: CBitrixComponent->includeComponent(string, array, object, boolean)
/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#23: CAllMain->IncludeComponent(string, string, array, object)
/home/bitrix/www/bitrix/components/bitrix/crm.deal/templates/.default/editac.php:76
#24: include(string)
/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789
#25: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884
#26: CBitrixComponentTemplate->IncludeTemplate(array)
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:764
#27: CBitrixComponent->showComponentTemplate()
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:712
#28: CBitrixComponent->includeComponentTemplate(string)
/home/bitrix/www/bitrix/components/bitrix/crm.deal/component.php:312
#29: include(string)
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#30: CBitrixComponent->__includeComponent()
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:680
#31: CBitrixComponent->includeComponent(string, array, NULL, boolean)
/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#32: CAllMain->IncludeComponent(string, string, array)
/home/bitrix/www/crm/deal/index.php:9
#33: include_once(string)
/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#34: include_once(string)
/home/bitrix/www/bitrix/urlrewrite.php:2

@PierrickVoulet
Copy link
Collaborator

It is not clear to me what is happening here but it looks like you are using REST for transport.

Could you try using gRPC instead? It requires the installation and configuration of the grpc PHP Extension. You will find instructions in this section of our documentation.

@fiboknacky
Copy link
Member

Closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants