Questions tagged [contentful-api]
83 questions
0
votes
1 answer
(3) Errors when calling data from API using Contentful & SwiftUI
Forgive me as I am extremely novice with SwiftUI... I am attempting to pull data from the CMS and put it in my app however it is throwing three errors on each attempt for the data to be retrieved and placed...
The errors are highlighting in the…

hallux
- 61
- 1
- 8
0
votes
1 answer
Contenful content displaying twice in GraphQL query
I'm learning gatsby and contentful to build a website but with when I query data from Contentful it displays the same content twice like below. what could be the reason?

npkp
- 1,081
- 5
- 18
- 24
0
votes
2 answers
Contentful richText with next.js
Im trying to integrate contentful rich text in my blog and its only working with bold, paragraphs and italics. I cant make the images and embedded things appear.
First i have this component:
const Content = ({ content }) => {
return (
user13680445
0
votes
1 answer
Error while creating asset with Contentful Management SDK
I'm using the Content Management JS SDK, version 5.21.1
Trying to create a new image asset but getting an error. I've attempted uploading the image first and calling createAsset:
const space = await…

timothyclifford
- 6,799
- 7
- 57
- 85
0
votes
1 answer
Request for all entries in a Contentful space not finding entries by field name
I have a content model: Category, with two entries for the Category content.
which I am retrieving with this function:
def categories(request):
contentful_client = contentful.Client(CONTENTFUL_SPACE_ID,
…

Ojonugwa Jude Ochalifu
- 26,627
- 26
- 120
- 132
0
votes
2 answers
Contentful JS API: Query for related articles with similar tags as the currently viewed article ? (article…tagList[])
Overview:
Someone views an article (contenttype : article). This article has a list of tags (contenttype : articletags).
Based on the linked tags in this article, I am trying to do a query for articles which has one or more of the same tags linked…

Terje Nygård
- 1,233
- 6
- 25
- 48
0
votes
0 answers
CDAHttpException fetching one resource on Contentful
I am trying to retrieve a resource on a contentful space.
When I try to do the query with .one method, I have returned a
com.contentful.java.cda.CDAHttpException: null
What may be wrong?
FetchQuery fetch =…

michele
- 26,348
- 30
- 111
- 168