Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`process_orchestration` reading response with status code 400 raises exception in `response.read_json()`

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start by tracing add_orchestration_rule() into process_orchestration() and inspect how orchestration_response.read_json() handles a 400 response before OrchestrationError is raised. Compare the response type with constants.Payload.JSON and determine why read_json() raises RuntimeError; done means the original orchestration failure can be diagnosed without a secondary parsing exception.

Written by the indexing model from the issue text.

Description

bug

Carlos Bocanera Gallardo found that when calling add_orchestration_rule(), if the response status code is 400 and the process_orchestration function raises an OrchestrationError, the orchestration_response.read_json() method raises a RuntimeError, which makes debugging hard.
The reason for raising the RuntimeError is that the orchestration_response is not a "JSON" response, or at least not a constants.Payload.JSON response. I am not sure why this is happening at the moment.

Dominant language
Python
Stars
5
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from arrowhead-f/client-library-python

All issues in arrowhead-f/client-library-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.