Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Mar 27, 2015

I'm lookin' at you, pubsub.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 27, 2015
@dhermes
Copy link
Contributor

dhermes commented Mar 27, 2015

WAT? @tmatsuo Can we file a formal bug about not using JSON errors from a discovery-based API?

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 25f92d2 on tseaver:json_api-non_json_errors into d34a15e on GoogleCloudPlatform:master.

@tmatsuo
Copy link
Contributor

tmatsuo commented Mar 27, 2015

This is presumably because Pub/Sub is on the newer infrastructure.

I assume other APIs return JSON errors. Is that behavior defined somewhere? or are you just expecting the same behavior as other APIs?

@tseaver
Copy link
Contributor Author

tseaver commented Mar 27, 2015

@dhermes
Copy link
Contributor

dhermes commented Mar 27, 2015

@tseaver this LGTM but can you capture the raw content in an api_request and post it, just so I can see?

@dhermes
Copy link
Contributor

dhermes commented Mar 27, 2015

@tmatsuo JSON half the time is crazy, no matter the infrastructure. Please send my feedback into the black hole of feedback.

@tseaver
Copy link
Contributor Author

tseaver commented Mar 27, 2015

Hmm, I was working with a bad API_BASE_URL earlier, which means the No Content was not generated by the pubsub API. It actually returns:

{
  "error": {
    "code": 404,
    "message": "Resource not found (resource=a-new-topic).",
    "status": "NOT_FOUND"
  }
}

@tseaver tseaver closed this Mar 27, 2015
@dhermes
Copy link
Contributor

dhermes commented Mar 27, 2015

Yay!

@dhermes
Copy link
Contributor

dhermes commented Mar 27, 2015

@tmatsuo My feedback turns out to be irrelevant! w00t!

@tmatsuo
Copy link
Contributor

tmatsuo commented Mar 27, 2015

Good to know!

@tseaver tseaver deleted the json_api-non_json_errors branch May 1, 2015 14:21
parthea pushed a commit that referenced this pull request Aug 21, 2025
* chore: Update gapic-generator-python to v1.16.1

PiperOrigin-RevId: 618243632

Source-Link: googleapis/googleapis@078a38b

Source-Link: googleapis/googleapis-gen@7af768c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2FmNzY4YzNmOGNlNTg5OTQ0ODIzNTBmNzQwMTE3MzMyOTk1MGEzMSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Sep 16, 2025
* chore: Update gapic-generator-python to v1.16.1

PiperOrigin-RevId: 618243632

Source-Link: googleapis/googleapis@078a38b

Source-Link: googleapis/googleapis-gen@7af768c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2FmNzY4YzNmOGNlNTg5OTQ0ODIzNTBmNzQwMTE3MzMyOTk1MGEzMSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Sep 18, 2025
…roubleshooting (#764)

* add pip freeze to various noxfile tests

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 22, 2025
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-bigtable/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
parthea pushed a commit that referenced this pull request Nov 24, 2025
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
Source-Link: googleapis/synthtool@f15cc72
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:bc5eed3804aec2f05fad42aacf973821d9500c174015341f721a984a0825b6fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants