Hello!
I’m trying to use the content-management-js sdk and the createAssetFromFiles function not returning error but not working.
npm version: “contentful-management”: “5.22.0”,
here is an example code:
https://jsfiddle.net/782vxwtc/
With this example I got a new asset on the contentful UI, but it says:
Cannot publish until processing has finished
after I extend the code with:
.then(asset => asset.processForAllLocales())
I got 400 error when I go to the assets detail page on contentful website:
Request URL: https://images.ctfassets.net/g00z4htoeuvq/3K6Jv04NevXvohTIiwSjrs/097874563f512212d633c186cdad8a49/messi.png?w=30&h=30
Request Method: GET
Status Code: 400
I’m on free plan right now.
Can anyone got this type of issue and help me investigating this createAssetFromFiles
behaviour?
Thanks,
Lacka