Skip to content

Member Challenges not returning with token #4961

Open
@sushilshinde

Description

@sushilshinde

Staging Env : https://staging-community-app.topcoder.com/challenges

Member challenges not returning with token

image

curl 'https://api.topcoder.com/v5/challenges/?status=Active&memberId=40623428&perPage=10&page=1&sortBy=updated&sortOrder=desc&tracks\[\]=Dev&tracks\[\]=Des&tracks\[\]=DS&tracks\[\]=QA' \
  -H 'authority: api.topcoder.com' \
  -H 'authorization: Bearer <JWT_TOKEN>' \
  -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36' \
  -H 'content-type: application/json' \
  -H 'accept: */*' \
  -H 'origin: https://staging-community-app.topcoder.com' \
  -H 'sec-fetch-site: same-site' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-dest: empty' \
  -H 'referer: https://staging-community-app.topcoder.com/challenges' \
  -H 'accept-language: en-US,en;q=0.9,la;q=0.8' \
  -H 'if-none-match: W/"8652-stQz3VZl6zY/gKyrLxOxdBZLlQM"' \
  --compressed

But without token challenges are returned (from the browser)

https://api.topcoder.com/v5/challenges/?status=Active&memberId=40623428&perPage=10&page=1&sortBy=updated&sortOrder=desc&tracks[]=Dev&tracks[]=Des&tracks[]=DS&tracks[]=QA

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions