I am trying to get a all the items on Monday from an item value. I have tried multiple ways on Postman, but i keep getting error “500Internal Server Error”. Now i don’t know what mistake i am doing in making API Call.
Hello @jayesh_da,
A 500 Internal Server Error means that, monday.com’s service might be having a downtime and so the problem is not from your end. You might want to try again later. The status page here sometimes help to determine whether or not that is the case.
Yeah, that is why I used sometimes because there have been instances where I’ve also experience 500 errors but the status page looks all good. The main idea I’m trying to push here is that, if you receive a 500 error, the fault is not from your end but from monday.com so you might want to try later.
It depends . 500 is indeed thrown under heavy load on the monday side, but the most likely issue is 500 (query string not present) which indicates that some formatting within your query string is incorrect. Did you try to enter the query in form data? See also: https://www.loom.com/share/023f0dd71a76414891b33dd1729bd88e
I’d love to clarify this a bit further. Since you are sending the query as a RAW JSON body, you will need to format it correctly, and escape JSON when you are searching for a column value. Here’s a working example:
Using escape characters around string values -\" instead of using ";
Sending your query as a JSON body means you will need to wrap it in brackets, and send the body as a query, i.e.:
{"query":"{ boards { id }}"}
@basdebruin I appreciate the clarification here! Indeed, as you and @kolaai have mentioned, the 500 error could be thrown during heavy load, but in this case, it is rather related to the formatting of the query.