woocommerce / woocommerce/wc-api-python
Unable to send request due to User-Agent
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 216
- Forks
- 108
- Avg merge
- 6h 34m
- Merged PRs (30d)
- 1
Description
I can't send requests to the api using the package, I get 403 HTTP status with this error message
`
Forbidden
You don't have permission to access this resource.
`I use the latest package version (3.0.0), I understand that this issue has been solved before in https://github.com/woocommerce/wc-api-python/issues/56, but apparently there is still a problem, because when I send a request using postman to my website it works, but when I use the package it doesn't, even if I set the User-Agent manually.
Wordpress version:5.7.2
Woocommerce version: 5.3.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the 403 with package version 3.0.0 against the reported WordPress 5.7.2 and WooCommerce 5.3.0 setup, then compare the package request with the successful Postman request, including the manually supplied User-Agent. Done means identifying the request difference that causes the 403 and confirming that the package can send the same request successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100