I am getting the following error :
The data couldn’t be read because it is missing.
When I run the following code:
struct Indicator: Decodable {
I just solved a similar issue on my end but for the property list decoder.
The error in this case seems to mean that a key wasn't found and not the data as a whole.
Try making the variables in your struct optional and it should return a nil value where the problem lies.