We are trying to download articles from one Zendesk instance and post into another instance. Ee are getting an "Record not found" error when trying to create an article
Our curl request is as follows:
curl https://viewthespacehelp.zendesk.com/api/v2/help_center/sections/9204304998683/articles.json \
-d @article.json \
-H "Content-Type: application/json" -H "Authorization: Basic *******************" \
-X POST Our article.json looks like
"title": "How to: Set up Notifications",
"body": "<body>\n<h2>Notifications let you stay updated on everything important going on within your building.</h2>\n<p class=\"wysiwyg-text-align-center\"><iframe allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"//fast.wistia.com/embed/iframe/va2leooo69\" width=\"560\"></iframe></p>\n<h2>Configuring Notifications</h2>\n<ul>\n<li>\n<strong>Channel Settings:\u00a0</strong>Go to <strong>Channel Settings</strong> link under the <strong>Profile</strong> tab.</li>\n<li>\n<strong>Notification Type:</strong> Enable or disable notification types for each subscribed channel.</li>\n</ul>\n<h2>Notification methods</h2>\n<p><img alt=\"Sandbox_notifications.png\" src=\"https://help.joinlane.com/hc/article_attachments/4409222691469/Sandbox_notifications.png\"/></p>\n<ul>\n<li>\n<strong>Email:\u00a0</strong>Receive the latest communications straight to your inbox. From content, building notices, user interactions, and other platform notifications.</li>\n<li>\n<strong>Push: </strong>You can receive in-app push notifications on your mobile device through the app. (iOS + Android)</li>\n<li>\n<strong>SMS:\u00a0</strong>Receive notifications via a simple text message.</li>\n</ul>\n<h2>Notification sources:</h2>\n<ul>\n<li>\n<strong>Content: </strong>Posts and Notices can be set to send notifications. These are controlled per channel, from the channel settings screen and can come in the form of emails, push notifications, and SMS messages.</li>\n<li>\n<strong>Workflows:</strong> Workflows are rules that can be set up for how posts or pages behave, when interacted with. These can include things like sending an email to the post's owner or creator when somebody interacts with it, or sending an update when a user changes or cancels information.\u00a0</li>\n</ul>\n<hr/>\n<p class=\"wysiwyg-text-align-center\">If you have gone through these steps and have questions, feel free to reach out to our Support Team:\u00a0<a class=\"c-link\" data-sk=\"tooltip_parent\" data-stringify-link=\"mailto:email@example.com\" rel=\"noopener noreferrer\" target=\"_blank\">firstname.lastname@example.org</a>. We happily stand by to lend a hand!</p></body>",
We verified all ids look correct. Can you please help us figuring this issue out?
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.