-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hello, I am trying to use the setup.sh script
It gets to the point of "INFO:root:Please click on the URL below to authorize merchant_center and paste the authorization code.", the URL works, I authorize it and get a code
But then when I paste this code into the command line, I get the following error:
Traceback (most recent call last):
File "/Users/sierra/markup-venv/lib/python3.9/site-packages/google/api_core/grpc_helpers.py", line 76, in error_remapped_callable
return callable_(*args, **kwargs)
File "/Users/sierra/markup-venv/lib/python3.9/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/Users/sierra/markup-venv/lib/python3.9/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "`authorizationCode` is deprecated. Use `versionInfo` instead."
debug_error_string = "UNKNOWN:Error received from peer ipv4:142.250.185.10:443 {grpc_message:"`authorizationCode` is deprecated. Use `versionInfo` instead.", grpc_status:3, created_time:"2025-04-27T09:42:21.35505+02:00"}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/sierra/shopping-markup/cloud_env_setup.py", line 146, in <module>
main()
File "/Users/sierra/shopping-markup/cloud_env_setup.py", line 104, in main
merchant_center_config = data_transfer.create_merchant_center_transfer(
File "/Users/sierra/shopping-markup/cloud_data_transfer.py", line 257, in create_merchant_center_transfer
transfer_config = self.client.create_transfer_config(request)
File "/Users/sierra/markup-venv/lib/python3.9/site-packages/google/cloud/bigquery_datatransfer_v1/services/data_transfer_service/client.py", line 838, in create_transfer_config
response = rpc(
File "/Users/sierra/markup-venv/lib/python3.9/site-packages/google/api_core/gapic_v1/method.py", line 131, in __call__
return wrapped_func(*args, **kwargs)
File "/Users/sierra/markup-venv/lib/python3.9/site-packages/google/api_core/timeout.py", line 130, in func_with_timeout
return func(*args, **kwargs)
File "/Users/sierra/markup-venv/lib/python3.9/site-packages/google/api_core/grpc_helpers.py", line 78, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.InvalidArgument: 400 `authorizationCode` is deprecated. Use `versionInfo` instead.
Are there any workarounds for this?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels