You are not logged in. Please login at to post your questions!


Unable to fetch problem statement


We are facing Problem in fetching Problem Body(Statement) using the API.

According to Documentation here

Using API end point -


We can get details of a problem, like sourceSizeLimit, maxTimeLimit , body(problem statement) etc. but it seems like now we are unable to fetch body (problem statement), the API returns a empty string.

Please look into this issue, other data like maxTimeLimit , problemName are being fetched perfectly fine.

An example of details for problem code 'KNIGHTS' and contest code 'COOK04' returns

{'status': 'OK', 'result': {'data': {'content': {'problemCode': 'KNIGHTS', 'problemName': 'N Knights Problem', 'dateAdded': '2010-11-09', 'languagesSupported': ['C++ 6.3', 'PAS gpc', 'PERL', 'PYTH', 'FORT', 'WSPC', 'ADA', 'CAML', 'ICK', 'JAVA', 'C', 'BF', 'ASM', 'CLPS', 'PRLG', 'ICON', 'RUBY', 'SCM qobi', 'PIKE', 'D', 'HASK', 'PAS fpc', 'ST', 'NICE', 'LUA', 'C#', 'BASH', 'PHP', 'NEM', 'LISP sbcl', 'LISP clisp', 'SCM guile', 'C99 strict', 'JS', 'ERL', 'SCALA', 'C++ 4.3.2', 'C++14', 'NODEJS', 'DOC', 'PDF', 'PS', 'TEXT', 'PYPY3', 'GO', 'PYTH 3.6'], 'sourceSizeLimit': 50000, 'maxTimeLimit': 0, 'challengeType': 'binary', 'author': 'david_adm', 'successfulSubmissions': 42, 'totalSubmissions': 73, 'partialSubmissions': 0, 'tags': ['cook04', 'medium'], 'body': '', 'user': 'v_ns'}, 'code': 9001, 'message': 'Contest Problem Successfully fetched'}}}

Notice that body returns nothing.

Though it was working fine , until some days ago.

Please look into this matter @hacker_ratty , @skbly7 , @shivangi_gupta

asked 28 Oct, 15:45

hasan_356's gravatar image

accept rate: 0%

edited 28 Oct, 15:46

@abhijeetpandey Please look into this issue.


answered 28 Oct, 16:40

v_ns's gravatar image

accept rate: 25%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 28 Oct, 15:45

question was seen: 63 times

last updated: 28 Oct, 16:40