Questions tagged [contentful-management]

contentful-management is the SDK for the Contentful CMS SAAS

79 questions
2
votes
1 answer

Trying to upload image to VIA Contentful Content Management API JAVA

I'm trying to upload an image via content management API. What I want to achieve is: Upload the image to the predefined Image content model and fetch the url later via the Content Delivery API - basically I wish to use Contentful as my own image…
Olaru Vlad
  • 267
  • 1
  • 6
  • 13
2
votes
2 answers

Updating a Contentful entry

I've hit a brick wall whilst attempting to update a Contentful entry using a typical http request in Javascript; I receive the error code "VersionMismatch" which, according to the documentation, means: This error occurs when you're trying to update…
mmmoustache
  • 2,273
  • 6
  • 41
  • 62
1
vote
0 answers

How to fix VersionMismatch when attempting an update using contenful-management

I am attempting to loop through all published documents in order to generate slugs, however I am getting a VersionMisMatch error on the update. I am assuming it is due to the X-Contentful-Version: 0 in there, how do I know what version to put in…
aggaton
  • 3,066
  • 2
  • 25
  • 36
1
vote
1 answer

How to display Cloudinary assets (integrated from Contentful) with Next.js 13?

I have been recently exploring Contentful CMS and I have been trying to display Cloudinary images/videos that I already placed in Contentful Content Model (JSON field with Cloudinary app applied) into Next.js 13 (I'm using their starter guide:…
Amanda
  • 35
  • 1
  • 7
1
vote
0 answers

Contentful - Next.js Versioning Issue Error 409

I'm trying to update an existing entry in Contentful with the Contentful Management API. In Contentful, every entry included a views field which represents a views counter. I want to increase that counter every time the page is reloaded. But I'm…
1
vote
0 answers

Contentful: Linking a list of asset IDs to Entry

I have a list of asset ids and their json strings like so: ids = ['{"sys": {"type": "Link", "linkType": "Asset", "id": "erwwe"}}', '{"sys": {"type": "Link", "linkType": "Asset", "id": "123"}}', '{"sys": {"type": "Link", "linkType":…
Aman
  • 387
  • 8
  • 33
1
vote
1 answer

Updating entry of Contentful using postman

As you can check below screenshot I tried to make PUT api call in the Contentful to update the entry. When I try to hit GET call, everything works fine but don't understand here what is reason of this below error while making PUT call. Did I missed…
Kushal Jain
  • 3,029
  • 5
  • 31
  • 48
1
vote
0 answers

Configuring Preview URL in Contentful In Web App

I am new to contentful. I have set up a content type in the content model of the example project as Blogpost. As a second step, I added the content entry of type Blogpost. I noticed that there was no preview configured in the web app. I looked into…
benz
  • 4,561
  • 7
  • 37
  • 68
1
vote
1 answer

Cannot create a content-type in Contentful

I am pretty new to Contentful and am using the company's contentful account. This profile has administrator access and I cannot create a content-type. The 'Add Content type' button appears disabled. I checked if there is a limit on the number of…
1
vote
1 answer

Importing large amount of data from API into Contentful?

I have started building a movie review website with React as my frontend and Contentful to handle everything else. I have started writing a script with contentful-management package to get all the movies from the last decade into Contentful by using…
CodingAnxiety
  • 206
  • 2
  • 13
1
vote
1 answer

Create an entry with RichText data via contentful management php sdk

I have searched extensively for an answer to this, contacted contentful support (and being ignored) and tried every permutation I can possible think of. Any help would be appreciated. I want to create a new entry via the contentful management sdk…
Ne Ma
  • 1,719
  • 13
  • 19
1
vote
0 answers

Manage graphql validation in gatsby to work around contentful not returning content models with no content

We are developing a large CMS using contentful with gatsby. This contentful installation has 2 spaces due to legislative content reasons and a multitude of environments for developing new features. Currently our process flow is that we use…
1
vote
1 answer

Editor push content to Contentful

I am making my own editor in Vue.js. I can change text and add images etc. I want that content to be pushed to Contentful when I save the changes I made in my editor app. I have checked out the Content Management API and this seems feasible but I…
Thijs
  • 33
  • 5
1
vote
1 answer

Using dotenv with bundled client side code

I am creating a node js application as a Contentful UI Extension. The code is hosted here: https://github.com/doodybrains/media-tagging-extension A lot of the gulp file is boiler plate but in the end everything gets bundled into an index.html file.…
1
vote
3 answers

Get all entries with included images using Contentful REST API

I am using typescript,and the Contentful-ManagementAPI (that's the reason I'm not using the SDK client), and I want to retrieve all entries from a specific type. I am calling th Api like this: axios.get("https://api.contentful.com/spaces/" + …