ERRORSY75017
Can only edit scheduled or active posts
The Synup API returns SY75017 in the errors array when this happens.
What the response looks like
Response
{
"data": null,
"errors": [
{
"message": "Can only edit scheduled or active posts",
"context": {},
"code": "SY75017"
}
]
}Where it comes from
Documented under Promotional Posts. The context field carries the offending value when one is relevant, and is empty otherwise.
See the full error code reference for every code the API can return.
Other Promotional Posts errors
| Code | Message |
|---|---|
SY75001 | Invalid scheduled date |
SY75002 | Invalid api key |
SY75003 | Scheduled cannot be set for active posts |
SY75004 | Content should be present while creating a post |
SY75005 | Content should be between 0-1500 |
SY75006 | Start date should be greater than today |
SY75007 | Invalid start date |
SY75008 | End date should be greater than today |
SY75009 | Invalid end date |
SY75010 | Start date should be more than the end date |
SY75011 | Start time should be less than end time |
SY75012 | The photo uploaded is too small! it must be at least 720 pixels wide and 540 pixels tall |