Cloudflare SFU API Intermittent issue
I am facing an intermittent issue when making the request to establish data channel transport.. This happens like 1/3 times.. Retrying the request fixes it but I wanted to know if there is any known issue or something that i might be missing...
Thanks in advance!! Cloudflare TEAM!
{
request: {
method: 'POST',
url: 'https://rtc.live.cloudflare.com/v1/apps/***/sessions/***/datachannels/establish',
headers: {
Authorization: 'Bearer ***',
'Content-Type': 'application/json'
},
body: { location: 'remote', dataChannelName: 'server-events' }
},
response: {
status: 400,
statusText: 'OK',
headers: {
'accept-post': 'application/sdp',
'access-control-allow-credentials': 'true',
'access-control-allow-headers': 'content-type,authorization,if-match',
'access-control-allow-methods': 'PATCH,POST,PUT,DELETE,OPTIONS',
'access-control-allow-origin': '*',
'access-control-expose-headers': 'x-thunderclap,location,link,accept-post,accept-patch,etag',
'cf-ray': '9a531289ffeb8e57-KTM',
connection: 'keep-alive',
'content-length': '81',
'content-type': 'application/json',
date: 'Thu, 27 Nov 2025 16:41:19 GMT',
link: '<stun:stun.cloudflare.com:3478>; rel="ice-server"',
server: 'cloudflare',
vary: 'Origin',
'x-signaling-by': 'i:false'
},
body: '{"errorCode":"decoding_error","errorDescription":"Failed to decode body as JSON"}'{
request: {
method: 'POST',
url: 'https://rtc.live.cloudflare.com/v1/apps/***/sessions/***/datachannels/establish',
headers: {
Authorization: 'Bearer ***',
'Content-Type': 'application/json'
},
body: { location: 'remote', dataChannelName: 'server-events' }
},
response: {
status: 400,
statusText: 'OK',
headers: {
'accept-post': 'application/sdp',
'access-control-allow-credentials': 'true',
'access-control-allow-headers': 'content-type,authorization,if-match',
'access-control-allow-methods': 'PATCH,POST,PUT,DELETE,OPTIONS',
'access-control-allow-origin': '*',
'access-control-expose-headers': 'x-thunderclap,location,link,accept-post,accept-patch,etag',
'cf-ray': '9a531289ffeb8e57-KTM',
connection: 'keep-alive',
'content-length': '81',
'content-type': 'application/json',
date: 'Thu, 27 Nov 2025 16:41:19 GMT',
link: '<stun:stun.cloudflare.com:3478>; rel="ice-server"',
server: 'cloudflare',
vary: 'Origin',
'x-signaling-by': 'i:false'
},
body: '{"errorCode":"decoding_error","errorDescription":"Failed to decode body as JSON"}'Thanks in advance!! Cloudflare TEAM!