Comments (3)
Seems reasonable to provide as nice an error we can, given what the API consistently returns.
from pyinaturalist.
Just updated update_observation() so it raises a requests.HTTPError
if status != 200.
If this approach is choosen:
- Update all other functions so they work the same
- Test this
- Document this
from pyinaturalist.
I am going to go ahead and close this issue, and will make additional issues for more specific error-handling features.
from pyinaturalist.
Related Issues (20)
- make_tree: tree with omitted ranks has out of order children HOT 2
- Add undocumented GET /taxa/lifelist_metadata endpoint
- Fix type annotations in API docs HOT 1
- Add lifelist metadata to response in ObservationController.life_list()
- ImportError: cannot import name 'RequestRate' from 'pyrate_limiter' HOT 3
- Put long param sections in dropdowns
- AnnotationController.create() - allow adding annotations by label instead of ID
- Drop support for python 3.7
- binder down? HOT 2
- possible issue with some endpoints HOT 7
- TimeoutError: The write operation timed out HOT 12
- Using Dry Run throws a key error HOT 2
- Adding 'Notes' to observations HOT 2
- A big shoutout! HOT 5
- Checking if the token provided is valid HOT 3
- Observations to/from Pandas DataFrame HOT 5
- GUANOMetadata Support in Audio files HOT 4
- Create/update observations with Observation objects
- Error `WARNING Parameters missing or invalid:1/1 cannot come before 1/1"` using pyinaturalist HOT 5
- HTTP 429 Rate Limit error on reading observations HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyinaturalist.