woocommerce / woocommerce/wc-api-python

Unable to use API when site is not placed at main domain

Open
#65 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
216
Forks
108
Avg merge
6h 34m
Merged PRs (30d)
1

Description

I have a test site located at a certain page "example.com/testsite".

But when trying to use the API I can only get an 'woocommerce_rest_cannot_view' 401 error.

Even disabling all security or using the legacy api doesn't yield success.

Is what I'm doing possible or should I give up?

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.

Research direction

Start by reproducing the 401 response against a WooCommerce site hosted at a path such as example.com/testsite, using both the current and legacy APIs. Determine whether the path-based installation is supported and document the confirmed limitation or the specific configuration needed for the API to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.