Always get Error 500 when try to create category

Eventually found the issue, I was passing the colors wrong in my json, passing 0x24aae2 instead of 24aae2