Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Conversation

@parthea
Copy link
Contributor

@parthea parthea commented Oct 18, 2021

No description provided.

@parthea parthea requested review from a team as code owners October 18, 2021 16:45
@parthea parthea requested a review from nicain October 18, 2021 16:45
@product-auto-label product-auto-label bot added the api: documentai Issues related to the googleapis/python-documentai API. label Oct 18, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 18, 2021
@parthea parthea mentioned this pull request Oct 18, 2021
@busunkim96
Copy link
Contributor

It looks like there's a hard-coded dependency somewhere on python-docs-samples-tests:

  input_config {
    gcs_source {
      uri: "gs://cloud-samples-data/documentai/invoice.pdf"
    }
    mi...lue_pair_hints {
      key: "Referred By"
    }
  }
}
parent: "projects/python-docs-samples-tests-py36/locations/us"
,)
kwargs = {'metadata': [('x-goog-request-params', 'parent=projects/python-docs-samples-tests-py36/locations/us'), ('x-goog-api-client', 'gl-python/3.6.15 grpc/1.41.0 gax/2.1.1 gapic/1.1.0')]}

    @functools.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
            return callable_(*args, **kwargs)
        except grpc.RpcError as exc:
>           raise exceptions.from_grpc_error(exc) from exc
E           google.api_core.exceptions.PermissionDenied: 403 The client project (python-docs-samples-tests), does not match the project id in the request: python-docs-samples-tests-py36

.nox/py-3-6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py:68: PermissionDenied

@parthea parthea added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 19, 2021
@parthea
Copy link
Contributor Author

parthea commented Oct 21, 2021

Hi @nicain ,

I wasn't able to locate where python-docs-samples-tests is hardcoded in this repo. Do you have any thoughts on where it might be hardcoded in the samples?

@parthea parthea closed this Nov 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: documentai Issues related to the googleapis/python-documentai API. cla: yes This human has signed the Contributor License Agreement. do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants