GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Accomodate JSON services which do not return JSON payloads for errors. by tseaver · Pull Request #764 · googleapis/google-cloud-python

Conversation

@tseaver

@tseaver tseaver commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

I'm lookin' at you, pubsub.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tseaver
Accomodate JSON services which do not return JSON payloads for errors.
25f92d2
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

dhermes commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coveralls

coveralls commented Mar 27, 2015

Copy link
Copy Markdown

Coverage Status

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Mar 27, 2015
Using correct format of exceptions from JSON based APIs. #762
Merged
Begin pubsub regression suite #765
Merged
@tmatsuo

tmatsuo commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

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?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Mar 27, 2015

Copy link
Copy Markdown
Contributor Author

@tmatsuo storage returns JSON: https://cloud.google.com/storage/docs/json_api/v1/status-codes#errorformat

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Mar 27, 2015

Copy link
Copy Markdown
Contributor Author

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"
  }
}
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver tseaver closed this Mar 27, 2015
@dhermes

dhermes commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

Yay!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tmatsuo

tmatsuo commented Mar 27, 2015

Copy link
Copy Markdown
Contributor

Good to know!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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
@gcf-owl-bot
chore: Update gapic-generator-python to v1.16.1 (#764)
0ca24c3
* 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
@gcf-owl-bot @parthea
chore: Update gapic-generator-python to v1.16.1 (#764)
b5000ec
* 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
@chalmerlowe @gcf-owl-bot
test: add pip freeze to several sessions in the noxfile to aid in t…
29d164a
…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
@billyjacobson
docs: fix delete from column family example (#764)
6184eac
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
@release-please
chore: release 0.40.7 (#764)
c152ce8
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
@release-please
chore(main): release 2.24.0 (#764)
291d009
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
@gcf-owl-bot
chore(python): use ubuntu 22.04 in docs image (#764)
2e27798
Source-Link: googleapis/synthtool@f15cc72
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:bc5eed3804aec2f05fad42aacf973821d9500c174015341f721a984a0825b6fd
parthea added a commit that referenced this pull request Mar 2, 2026
@gcf-owl-bot @parthea
chore: use gapic-generator-python 1.2.0 (#764)
fba3e25
* chore: use gapic-generator-python 1.2.0

PiperOrigin-RevId: 467286830

Source-Link: googleapis/googleapis@e6e875a

Source-Link: googleapis/googleapis-gen@0295ea1
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDI5NWVhMTRkOWNkNGQ0N2RkYjIzYjllYmQzOWEzMWUyMDM1ZTI4ZiJ9

* 🦉 Updates from OwlBot post-processor

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

* remove replacements in owlbot.py

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
parthea pushed a commit that referenced this pull request Mar 9, 2026
@renovate-bot
chore(deps): update dependency google-auth to v2.41.1 (#764)
bd2ae54
parthea pushed a commit that referenced this pull request Mar 9, 2026
@release-please
chore(main): release 3.16.0 (#764)
36a4731
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@tseaver @dhermes @coveralls @tmatsuo @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.