Contentful logo

Contentful Community

Error fetching stories from Contentful "no value associated with key FieldKeys"

When I run the app on my iPhone. The API is supposed to fetch all the resources from the CMS. It gets all the assets, but not the data that is called stories (part of the content),

Any Help is appreciated!

Here is the error message: 021-10-26 20:53:55.606031+0200 PortalEditor[370:35158] [Contentful] Error: keyNotFound(FieldKeys(stringValue: “text”, intValue: nil), Swift.DecodingError.Context(codingPath: [ArrayCodingKeys(stringValue: “includes”, intValue: nil), _JSONKey(stringValue: “Index 118”, intValue: 118)], debugDescription: “No value associated with key FieldKeys(stringValue: “text”, intValue: nil) (“text”).”, underlyingError: nil))

Error fetching stories: The operation couldn’t be completed. (Contentful.SDKError error 2.)