contentful-management is the SDK for the Contentful CMS SAAS
Questions tagged [contentful-management]
79 questions
1
vote
1 answer
How to tell the webhook the 'unpublish()' order comes from the API, not the Contentful console?
I use this trick (thanks @Robban) to publish a Contentful entry through the API, without triggering the webhook.
However, I could not figure out how to UNpublish an entry through the API without triggering the webhook.
According to the Contentful…

Manube
- 5,110
- 3
- 35
- 59
1
vote
0 answers
Issue with "Contenful" API: Storing images is randomly failing
we are using the Contentful API with Angular 1.
When we try to store an image (file size does not matter) the Contentful API randomly throws an error:
Uncaught (in promise) Error: Asset is taking longer then expected to process.
As it is working…

Stefan Blattmann
- 121
- 1
- 2
- 16
1
vote
1 answer
Querying 'DeletedEntry' using an id
The ContentManagement.Entry.delete webhook does not contain the entry fields.
Eg:
{
"sys": {
"type": "DeletedEntry",
"id": "{ID HERE}",
"space": {
"sys": {
"type": "Link",
"linkType": "Space",
"id":…

Tom Ardern
- 33
- 1
- 2
1
vote
1 answer
Content model including a list of dates
I want to create a content model containing a list of dates of variable length. The only way I figured out how to do it is to create a new nested content model with one date field, and then include these single date entries as a reference list. The…

Thomas Gorny
- 13
- 4
1
vote
1 answer
Error with accessors on node.js object
I am interacting with contentful and trying to interact with data using their api using Node.js.
I can show that a certain object has certain properties using Object.getOwnPropertyNames() but when I access them they are undefined. What am I doing…

skaz
- 21,962
- 20
- 69
- 98
1
vote
1 answer
Contentful API: upload and assign image to an entry
I have been using the Contentful Management Javascript SDK to update entries in my Contentful space and have been able to update simple fields with text no problem.
My issue is that I can't figure out how to update images in my entry; I can upload…

mmmoustache
- 2,273
- 6
- 41
- 62
1
vote
1 answer
How to get access_token in contentful?
I don't know how to get the access token in contentful. I've tried a lot of searching, copy/pasting various "solutions" but none of them working for me.
Please help me into this.

Suraj Dalvi
- 988
- 1
- 20
- 34
1
vote
1 answer
How to update a Contentful entry using content-management node module
I am trying to update an existing entry in Contentful using the content-management node module.
Here is the code I am using, however I am not able to update the entry nor do I see any error.
var client = contentful.createClient({
// A valid…

Ramesh Mohan Reddy
- 197
- 3
- 16
1
vote
1 answer
Contentful getting contenttypes different
I am using management api, when I run following code:
sourceSpace.cf_space.getContentTypes().then(function(contentTypes){});
It returns response like that:
But when I run following…

maverickosama92
- 2,685
- 2
- 21
- 35
1
vote
1 answer
Contentful How to resolve child reference links?
I am querying contenful with following call:
space.getEntries({ content_type: contentTypeId, order: '-sys.createdAt', skip: 0}).catch(function(gerror) {
return gerror;
}).then(function(entries) {
console.log(entries);
});
But i am getting sys…

maverickosama92
- 2,685
- 2
- 21
- 35
1
vote
1 answer
How to set contentful.js api call rateLimit
I have following code:
contentfulMgmt.createClient({
accessToken: sourceSpace.accessCode,
rateLimit: 1,
secure: true,
retryOnTooManyRequests: true,
maxRetries: 5
…

maverickosama92
- 2,685
- 2
- 21
- 35
0
votes
0 answers
Get Contentful to Show More Detailed Errors
I'm trying to migrate my content on Laravel to Contentful using its Management API for PHP.
Following the tutorials, I was able to get the error to show.
Validation error
However, the error it shows is very vague. How do I get it to show more…

Davina Leong
- 737
- 2
- 11
- 28
0
votes
0 answers
Contentful Custom App: Allow for another Custom Field App within an EntryEditor app
I have a custom contentful app that overrides the EntryField. Then I also have a separate app that overrides a JSON field within that entry (that represents a button). When I add the entry app though, it seems to remove that JSON field app and shows…

NathanCaleWichman
- 349
- 3
- 7
0
votes
2 answers
Contenful API gives TypeError: client.getEntry is not a function
Trying to use contentfil entry with API but getting some error TypeError: client.getEntry is not a function . Everything seems good, googled a lot but did not find any answer.
const contentful = require('contentful-management')
…

letedet652
- 1
- 1
0
votes
1 answer
How to update a content's status using API in contentful.com
I have created a content in contentful.com. Was going through the api document, I tried the GET API to access the content, but i don't see edit/update content API anywhere in the document. Has anyone got any solution for it?
I found a document…

letedet652
- 1
- 1