Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColor#f9ecc5

One will get the above error message, if there are Confluence space(s) which has when there no space description in the UI for Confluence space(s).

It causes because of no NULL value (NULL) for the field,": Description " in the database.

Solution

On receiving the internal server error with a response code 500, follow the below steps:

  1. Verify whether the description of the spaces any space is NullNULL, by running the below query from the database query:

    Code Block
    themeMidnight
    SELECT * FROM spaces WHERE spacedescid IS NULL ;


  2. If there are In case of any space(s) , which has having the description as NULL in the above results, make sure to update the description with a value from the UI.

  3. Once you update the description in the space(s), re-run the getSpaceList action. This time, you will not receive the above error message , "Error data: {"reason":"Internal Server Error","message":"","statusCode":500}" and the cli will show you and the CLI shows the list of all spaces. 

    Code Block
    themeMidnight
    --action getSpaceList --columns Key,Type,URL 


...