Unable to send request due to User-Agent
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
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.
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
- Dominant language
- Python
- Stars
- 216
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from woocommerce/wc-api-python
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
woocommerce/wc-api-python#108 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
woocommerce/wc-api-python#106 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
woocommerce/wc-api-python#105 ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
woocommerce/wc-api-python#104 ·
-
Json FormattingOpen
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
woocommerce/wc-api-python#103 ·
All issues in woocommerce/wc-api-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug difficulty:2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
MakazhanAlpamys/Soup#3167 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
snap-stanford/Biomni#380 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jsboige/CoursIA#27768 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 66/100
rossant/awesome-math#206 ·