Cookie Handling: The way I was setting the Cookie header might was not correct. Typically, you'd want to set it as a complete cookie string:
const profileUpdateResponse = await fetch(`${API_URL}/update-profile/${requestBody.user_id}/`, {
method: 'POST',
credentials: 'include',
headers: {
'Content-Type': 'application/json',
'X-CSRFToken': csrfToken.value,
'Cookie': `csrftoken=${csrfToken.value}; sessionid=${sessionid.value}`
},
body: JSON.stringify(requestBody)
});