cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in create_stream method

GowthamRaja
Active Participant
0 Likes
4,097

Hi Experts,

I am getting the below error while updating the xstring values in table for create_stream method.

Please help me resolving this issue

View Entire Topic
Ankit_Maskara
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Gowtham,

As mentioned by Krishna, as a rule of thumb you should always fill the exporting parameter er_entity in case of any Create or Update method.

Framework always expects the created/updated value which shoud be rendered back to UI. Attachments/media is an excpetion here where we export other file attributes Like created by, creation date etc.

GowthamRaja
Active Participant
0 Likes

thanks for your blog. i have missed the er_entity. now in backend table its get updated but in gateway client i getting the error as 500 internal server error as 'Invalid or no mapping to system data types found'

Ankit_Maskara
Product and Topic Expert
Product and Topic Expert

for this error you need to redefine the DEFINE method in <.....>MPC_EXT class and set the mime type property accordingly. Basically system is trying to tell you that the media entity/stream file does not have an associated mime type like pdf,xlsx,doc,etc.