Groups
Sign in
Groups
immobilienscout24-development
Conversations
Labels
About
Send feedback
Help
ERROR_COMMON_MEDIA_TYPE_UNSUPPORTED during video upload
15 views
Skip to first unread message
Aamir Hussain
unread,
Jun 7, 2023, 3:21:41 AM
6/7/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to immobilienscout24-development
Hello,
I'm trying to upload a video using the
https://rest.immobiliensout24.de/restapi/api/offer/v1.0/user/{userid}/realestate/{id}/attachment
path and getting an
ERROR_COMMON_MEDIA_TYPE_UNSUPPORTED error. Before posting this request I make a get request to videouploadticket route to get the upload url and video id which is created successfully.
This is my request body for the post route:
const
metaData
= {
"common.attachment"
:
{
"@xmlns"
:
{
common
:
"
http://rest.immobilienscout24.de/schema/common/1.0
"
},
"@xsi.type"
:
"common:StreamingVideo"
,
title
:
"Video1"
,
externalId
:
"Video"
,
videoId
:
body
?.[
"videoupload.videoUploadTicket"
]?.[
"videoId"
]
}
};
Can anyone help me with this? Would be really grateful
Reply all
Reply to author
Forward
0 new messages