Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Small change to api error responses

Small change to api error responses

I am currently trying out the console API for an application and so far going well, but I ran into an error message while trying the search endpoint:

 

 

{
  "error" : {
    "status" : 400,
    "message" : "Missing parameter type"
  }
}

 

 

Now I finally found out what the problem was after way to many hours wasted. The search api has a parameter called 'type', that I forgot. The reason it took that long was that i thought the message told me I was missing A type, but without telling me which one. I would suggest that the message should be like

 

 

{
  "error" : {
    "status" : 400,
    "message" : "Missing parameter 'type'"
  }
}

 

 

to avoid confusion like I experienced for a couple of days. Just a thought.

Reply
0 Replies

Suggested posts