Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

{"errorMessages":["There was an error parsing JSON. Check that your request body is valid."]}(base)

Skynet August 8, 2023

My Json is as below. 

{

    "fields": {

       "project":

       {

          "id": "10000"

          "key": "ABC"

       },

       "summary": "No REST for the Wicked.",

       "description": "Creating of an issue using ids for projects and issue types using the REST API",

       "issuetype": {

          "id": "10000"

       }

 

   }

}

1 answer

3 votes
Skynet August 8, 2023

Found it In your JSON object, there is a missing comma after the "id": "10000" line. Here is the corrected version of your JSON object: 

{
    "fields": {
       "project":
       {
          "id": "10000",
          "key": "ABC"
       },
Jehan Bhathena
Community Champion
August 11, 2023

Hi @Skynet ,

Great to know that you found the answer, please can you mark your answer as ACCEPTED, so that it can be identified that way when people search for a similar query.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events