cancel
Showing results for 
Search instead for 
Did you mean: 

mdk create media entity wrong payload

sopizaken
Participant
0 Kudos

Hello experts,

We are encountering an issue using the Create Media. When we try to save the image, it returns an error "Create Media Entity failed. The rwong type of payload was supplied for this request". The values defined for the properties in the Create Media Action is the same as values defined for the properties in our other Create Actions. Need your help on this. Thank you!

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Can you share you create media action metadata and metadata for the service?

Accepted Solutions (0)

Answers (1)

Answers (1)

miqueias_maia
Participant
0 Kudos

Hello Raquel.

I was facing this same issue and I've concluded that this only happens if your media service works with ODataV4. Try to use a adapter and generate a mdk service using OData V2.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

What are you using to create your service? Is it a CAP service?

miqueias_maia
Participant
0 Kudos

Yes, bill.froelich, it's a CAP Service.