...
Error Message
Code Block | ||
---|---|---|
| ||
Remote error: Internal server error. Report to support. Response code: 500. | ||
Log Entries
Here is the sample log for this error:
...
Panel | ||
---|---|---|
| ||
One will get the above error message, if there are Confluence spaces which has no space description in the UI,. It causes because of no value (NULL) for the field: ,"Description" in the database. |
Solution
On receiving the internal server error with response code 500, follow the below steps:
Verify the description of the spaces is Null, by running the below database query:
Code Block theme Midnight SELECT * FROM spaces WHERE spacedescid IS NULL ;
If there are any space(s), which has the description as NULL in the above results, make sure to update the description with a value from the UI.
Once you update the description in the space(s), re-run the getSpaceList action. This time you will not
get the Response Code: 500 error.receive the above error message, "Error data: {"reason":"Internal Server Error","message":"","statusCode":500}" and the cli will show you the list of all spaces.
Code Block theme Midnight --action getSpaceList --columns Key,Type,URL