You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while submitting to codeforces I'm receiving 403 Client Error message.
Error log
$ oj s https://codeforces.com/contest/1451/problem/A E:\CP\CF\A\A.cpp --wait=0 --yes --no-open -l 54
[INFO] online-judge-tools 11.1.1 (+ online-judge-api-client 10.5.0)
[WARNING] cannot guess URL since the given file is not in the current directory
[INFO] problem recognized: CodeforcesProblem.from_url('https://codeforces.com/contest/1451/problem/A'): https://codeforces.com/contest/1451/problem/A
[INFO] code (1865 byte):
** MY SOLUTION **
[INFO] load cookie from: C:\Users\nebir\AppData\Local\online-judge-tools\online-judge-tools\cookie.jar
[NETWORK] GET: https://codeforces.com/enter
[NETWORK] 302 Found
[INFO] You are logged in.
[NETWORK] GET: https://codeforces.com/contest/1451/problem/A
[NETWORK] 200 OK
[INFO] chosen language: 54 (GNU G++17 7.3.0)
[WARNING] the problem "https://codeforces.com/contest/1451/problem/A" is specified to submit, but no samples were downloaded in this directory. this may be mis-operation
[NETWORK] GET: https://codeforces.com/contest/1451/problem/A
[NETWORK] 200 OK
[NETWORK] POST: https://codeforces.com/contest/1451/problem/A
[NETWORK] 403 Forbidden
[ERROR] 403 Client Error: for url: https://codeforces.com/contest/1451/problem/A
Traceback (most recent call last):
File "C:\Users\nebir\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\onlinejudge\service\codeforces.py", line 389, in submit_code
resp.raise_for_status()
File "C:\Users\nebir\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\requests\models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: for url: https://codeforces.com/contest/1451/problem/A
[WARNING] You may use wrong User-Agent: 'online-judge-tools/11.1.1 (+https://github.com/online-judge-tools/oj)'
[FAILURE] submission failed
Description
while submitting to codeforces I'm receiving
403 Client Error
message.Error log
Environment
The text was updated successfully, but these errors were encountered: