I’m writing a JSON decoder for a service I own. It’s currently failing, and I think this is a problem with the JSON returned from the server (not the decoder), but there is not enough details about where it fails:
I remember the error messages having a lot more details. Am I missing a configuration or flag?
It was indeed something wrong with the JSON returned from the server. The decoder is a Decode.list decodeItem at the top-level, and the list returned was large, so I was having trouble finding where the name attribute was missing (the 9th element).