I have…
- [X] Read the following guideline: https://docs.squidex.io/01-getting-started/installation/troubleshooting-and-support. I understand that my support request might get deleted if I do not follow the guideline.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [X] Bug report
- [ ] Performance issue
- [ ] Documentation issue or request
Current behavior
We are trying to change the status for a content, from “Published” to “Archived” via the Content API. We are sending this request:
PUT https://cloud.squidex.io/api/content/zubale-jobs/jobs/6cf9fef3-6b26-4f7b-9c58-df80cd50ae3c/status
{
"status": "Archived",
"dueTime": null,
"checkReferrers": false
}
The response we are getting is:
{
"message": "Entity (3a653e51-820f-4eb3-b976-9dc3053451e4--6cf9fef3-6b26-4f7b-9c58-df80cd50ae3c) has been deleted.",
"errorCode": "OBJECT_DELETED",
"traceId": "00-54eb4487f41f479c42953f14cb315bdd-97e99adc909ffb93-01",
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.9",
"statusCode": 410
}
Seems like is searching for another entity based on the key it complains about (?). Is there an error on the request playload? I tried to play with the dueTime
and checkReferrers
fields, but got the same outcome.
If we run:
GET https://cloud.squidex.io/api/content/zubale-jobs/jobs/6cf9fef3-6b26-4f7b-9c58-df80cd50ae3c
Works just fine, the desired content is retrieved.
Expected behavior
Content status gets changed to Archived
; using the web ui works fine, but we would like to automate this.
Environment
- [ ] Self hosted with docker
- [ ] Self hosted with IIS
- [ ] Self hosted with other version
- [X] Cloud version
Version: [VERSION]