Announcements
fetch(`/api/data/v9.2/$batch`, {
method: 'POST',
headers: {
'OData-MaxVersion': '4.0',
'OData-Version': '4.0',
'Content-Type': `multipart/mixed; boundary="batch_8a23z8"`,
'Accept': 'application/json',
'If-None-Match': 'null',
},
body: batchdata,
})
.then(response => response.json())
.then(data => {
console.log('Batch request success:', data);
})
.catch(error => {
console.error('Batch request error:', error);
// Log the detailed error response if available
if (error.responseText) {
console.error("Server response:", error.responseText);
}
});
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.