Cloud-CV / Cloud-CV/EvalAI

API: Failed to get all challenges

Open
#3,411 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
983
Avg merge
2h 54m
Merged PRs (30d)
14

Description

API parameters:
Method: GET
URL: /challenges/challenge
Header: Authorization = "Token {{my_token}}"
Software: Insomnia

Expected behavior:
List of all challenges

Observed behavior:
"error": "Invalid url pattern!"

Software image:
image

Server logs:
[pid: 80|app: 0|req: 2/2] 192.168.x.x () {32 vars in 732 bytes} [Mon May 3 18:14:46 2021] GET /api/challenges/challenge => generated 32 bytes in 63 msecs (HTTP/1.1 406) 6 headers in 232 bytes (1 switches on core 0)

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

Reproduce the GET request to /api/challenges/challenge with the Authorization token and compare it with the documented /challenges/challenge URL. Trace the route handling that produces the “Invalid url pattern!” response; done means the endpoint returns the expected list of all challenges and the request is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.