PaloAltoNetworks / PaloAltoNetworks/prisma-sase-sdk-python

sdk.get.site_status returns 404 with valid site id's

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

Nobody has claimed this yet.

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

Description

Describe the bug

sdk.get.site_status(site_id=a valid site id) method is returning 404 on every call, confirmed valid site id's given as input.

Expected behavior

200 response with expected response payload.

Current behavior

returns 404 with valid site_id's provided.

Possible solution

Steps to reproduce

For me, authentication succeeds, then just make the method call with a valid site_id and a 404 response is received.

  • Version used:
  • Environment name and version: python 3.11.1
  • Operating System and version (desktop or mobile): windows 11, desktop

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the authenticated sdk.get.site_status(site_id=...) call with Python 3.11.1 and inspect the request and response produced for a confirmed valid site ID. Trace the SDK method to identify the endpoint and parameters it sends; done means the call returns HTTP 200 with the expected payload instead of 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.