I was trying to use the rest api delete label with query parameter to remove a label that is an integer but I keep getting 500 Internal Server Error. How do I remove a label that is a numeric value?
Hi @Sam Chan ,
please try this URL (+ DELETE):
https://yourinstance_confluence/rest/api/content/26083521/label/56789
I've just tested it and it works for me.
I just tried that and got this response along with 500 internal server error again
{ "statusCode": 500, "message": "com.atlassian.confluence.core.service.NotValidException: [ValidationError [messageKey=label.not.found, args=[]]]"}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The weird thing is that the URL works when the label is not a numeric number. I made a call with something like this below and it worked...it removed the confluence label
DELETE REQUEST https://your_confluence/rest/api/content/26083521/label/confluence
My confluence server is running version 5.9.11
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
According to the documentation, there could be problems with "/", but numbers are not mentioned.
Version 5.9.11 is quite old, it seems to me like a bug :-(...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.