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

[Python] "400 Request is missing 'x-goog-request-params' header" when using dictionary as parameter in functions that use routing headers #380

Closed
tswast opened this issue Jan 30, 2019 · 6 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release.

Comments

@tswast
Copy link

tswast commented Jan 30, 2019

See: googleapis/google-cloud-python#7220 for how this manifests in the BigQuery Storage API.

@andreamlin
Copy link

@vam-google would you mind taking a look at this?

@vchudnov-g
Copy link
Contributor

@vam-google @hzyi-google Any updates on this? We're out of SLO.

@vchudnov-g
Copy link
Contributor

@hzyi-google Is this an issue for Java and PHP? If so, we should fix this.

@tswast
Copy link
Author

tswast commented Feb 4, 2020

I didn't check Java / PHP for related issues. This surfaces in Python when you pass in a dictionary instead of an explicit request object. e.g.

session = client.create_read_session(
    {
        "project_id": "swast-scratch",
        "dataset_id": "schema_examples",
        "table_id": "array_struct",
    },
    "projects/swast-scratch")

@yihanzhen yihanzhen transferred this issue from googleapis/gapic-generator Apr 10, 2020
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Apr 10, 2020
@yihanzhen yihanzhen removed their assignment Apr 10, 2020
@hkdevandla
Copy link
Member

@software-dov, can you triage this? I'm not sure if this still an issue in the new python micro-generator. Please advice.

@hkdevandla hkdevandla added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed triage me I really want to be triaged. labels Apr 15, 2020
@yoshi-automation yoshi-automation removed the 🚨 This issue needs some love. label Apr 15, 2020
@software-dov
Copy link
Contributor

Duplicate of #401

@software-dov software-dov marked this as a duplicate of #401 Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release.
Projects
None yet
Development

No branches or pull requests

8 participants