Hey I was trying to upload URL Links (Asset) but always got an error, it already happened for weeks (or over a month). I had tried to use some youtube link, google, etc, but still got errors.
Could you please check it? Because months ago, it worked!
The error came from this endpoint:
-
Request URL:
https://api.contentful.com/spaces/mxjho7omlghg/environments/master/assets/6M4uR8V0j8ifhj5bqLKFXb/files/en-US/process -
Request Method:
PUT -
Status Code:
422 -
Response:
{
"errors": [
{
"name": "unknown",
"path": [
"fields",
"file",
"en-US",
"url"
],
"value": "",
"details": "The property \"url\" is not allowed here."
},
{
"name": "unknown",
"path": [
"fields",
"file",
"en-US",
"details"
],
"value": {
"size": 0
},
"details": "The property \"details\" is not allowed here."
},
{
"name": "required",
"path": [
"fields",
"file",
"en-US",
"upload"
],
"details": "The property \"upload\" or \"uploadFrom\" are required here"
},
{
"name": "required",
"path": [
"fields",
"file",
"en-US",
"uploadFrom"
],
"details": "The property \"uploadFrom\" or \"upload\" are required here"
}
]
}