Skip to content

No records found when searching non-active challenges by "memberId" #343

@maxceem

Description

@maxceem

On the Topcoder challenge listing page, we can show "My Challenges"

image

This list provided by the next API call https://api.topcoder-dev.com/v5/challenges/?status=Active&memberId=8547899&perPage=10&page=1&sortBy=startDate&sortOrder=desc&tracks[]=Dev&tracks[]=Des&tracks[]=DS&tracks[]=QA which has status=Active and memberId=8547899 (and user Bearer Token provided in header).

In the new design, we also want to show "My Past Challenges". List of my past challenges suppose to be retrieved by the same request but status changed to Completed: https://api.topcoder-dev.com/v5/challenges/?status=Completed&memberId=8547899&perPage=10&page=1&sortBy=startDate&sortOrder=desc&tracks[]=Dev&tracks[]=Des&tracks[]=DS&tracks[]=QA.

Actual

When we send this request without userer bear token it returns some list of challenges.
But if we send the send request with user bearer token, it reutnrs zero challenges in response.

Expected

If we send this request with user bearer token, it returns past challenges of the user, defined by memberId param.

Test user

I can reproduce this issue with at least 2 users TonyJ and pshah_manager on DEV environment.

Demo video

Please, see a demo video of how I reproduce it using TonyJ user on DEV https://monosnap.com/file/KV63IbOCUMYgSjonD4nSrp2jmGJfGM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions