Why does the JSON parse through IPFS fail?

Hi!
I am trying to download a json doc from IPFS and then parse it. But everytime I try to use mapJSON() I get this weird error:

Subgraph failed for non-deterministic error: failed to process trigger: block #9787076 (0x09bd…42b2), transaction 909ea5bf11f04199e1fee0605794ce048bc672eafef6bc577ee9ea89e49df472: EOF while parsing an object at line 2 column 0: '{ ' wasm backtrace: 0: 0x2005 - <unknown>!src/mapping/handleNewApp , retry_delay_s: 120, attempt: 0

I am thinking this is an error with the formatting, is there any way I can correct this?