Skip to content

Conversation

@maxceem
Copy link
Contributor

@maxceem maxceem commented Aug 4, 2025

Issue

  1. Connect to Topcoder's MCP using https://github.com/modelcontextprotocol/inspector

  2. Add "HTML" tag into "tags":

    image
  3. Running request returns "Error fetching challenges: Request failed with status code 400"

Fix

Ensure that tags argument always treated by Challenges API as an array by adding [] to the tags param when calling Challenges API:

  • instead of tags=AI pass tags[]=AI.

Test

I've tested it locally, now it works for both cases for single tag:

image

and when passing multiple tags it still working:

image

@kkartunov kkartunov merged commit 90946c5 into topcoder-platform:dev Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants