Send email by BDK API, get 500:"Invalid stream ID specified" error

I am sending a simple email without attachment by BDK in 2.1 by following main three steps:
1. login the server and get the anticsrf string.
2. upload the email body content with URI:
http://IP:Port/comb/v1/d/session/upload?uploadscope=25589676100454&content_id=25589676080060&anticsrf=zhu8nv%2BX%2FsA%3D
3. send the mail with URI:
http://IP:Port/comb/v1/d/emsg/send?uploadscope=25589676100454&debug=true&anticsrf=zhu8nv%2BX%2FsA%3D.
In the third step, the server response 500 error and capture the server response package as following:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><obh:restFault xmlns:obr="http://www.oracle.com/beehive/rest" xmlns:obh="http://www.oracle.com/beehive"><obh:fault><obh:debugInformation><obh:serviceInstanceId>814dc480-dbc7-4e8f-a6fb-59808adadb4c</obh:serviceInstanceId><obh:stackTrace>java.lang.RuntimeException: Invalid stream ID specified: MjU1ODk2NzYwODAwNjA=
at oracle.ocs.mail.csi.stream.EmailOperationContextImpl.getOutputStream(EmailOperationContextImpl.java:96)
at oracle.beehive.platform.rest.resource.hui.stream.StreamInMethod.action(StreamInMethod.java:178)
at oracle.beehive.platform.rest.core.Mauna.doRequest(Mauna.java:463)
at oracle.beehive.platform.rest.servlet.LahainaServlet.doRequest(LahainaServlet.java:60)
at weblogic.servlet.http.AbstractAsyncServlet.service.....
My question is what steam id is used for, where to set the stream id and what kind of stream id is right?
Thanks in advance!
Edited by: user13304957 on May 9, 2011 12:53 AM

find the answer,
for sending an email, first, "upload scope" value in upload body and send msg should be the same, second, and the last, in the sending msg step, the StreamedSimpleContentUpdater.contenStreamID should be the same as content id used in uploading body.

Similar Messages

  • I have been having trouble getting my email on my iPad. It started when I brought it to the US on vacation (I live in London and my email provider is Virgin Media). It worked once since I returned, but that is it. I can send emails, but can't get them

    I have been having trouble getting my email on my iPad2.
    It started when I brought it to the US on vacation (I live in London and my email provider is Virgin Media). It worked once since I returned, but that is it.
    I can send emails, but can't get them.
    Any ideas, people?

    Hi Kharels
    Just posted this reply to 2 others with same sort of question:
    I have the same issue as i have my own email address and only want to use.
    There are two ways around this annoying problem. The first is to set up your own domain email account alongside your iCloud one, and when you go to send each email tap on From and you get a choice of emails addresses to reply from... ie your own domain or the iCloud one.  This is tedious though.
    The other is to set up your iCloud email as normal, then create a new one altogether. Choose 'Other' when creating this new account. Then put for the incoming server mail.me.com, along with your user name and password. For the outgoing server put the server you want to use - ie your own domain one. This is therefore a hybrid account and does work.
    Now switch off the email for iCloud (leaving on Calendar, Address Book etc). Switch on the email for your hybrid account (which of course is iCloud incoming as well).
    Providing you have directed your own domain email address to your me.com one, you will find the iPhone should behave itself and you can use the folders etc and these will synch with your Mac ok.
    Hope this work for you - let us know.
    Simon

  • Failed to send Email to user root. (90017)Invalid protocol: null

    Dear All ,
    After having configure the notification i goto the following error when a notification is enable.
    Failed to send Email to user root. (90017)Invalid protocol: null
    How to fix it
    Regards

    Thanks for the prompt return
    The link you send to me refer to notification with Grid control and there is no feature to perform a test to send an email . Or may me from cli .
    How can i check if EC can send an email . On Os level we use sedmail and it work
    Tx

  • Ive forgotton my answers to the security questions, but when i click send email to reset, I get no emails trough?

    I cant remember the answers to my security questions but when i click send email to remind, I get no email.. help?:(

    If the email hasn't arrived after a few hours and isn't in a spam filter, you need to contact Apple. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (89839)

  • When I try to print anything in Firefox, email or internet, I get a message that says printer error and nothing prints. Tried printing same stuff from Internet

    When I try to print anything in Firefox, email or internet, I get a message that says printer error and nothing prints. Tried printing same stuff from Internet Explorer it works fine.

    hello bdoolen, please try to [[Reset Firefox – easily fix most problems|reset firefox]] and see if this can address the issue...

  • I am not able to send email using JAVA API to outer email

    If I am trying to send email from my company account to yahoo I am getting following errors:
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
    for [email protected]
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    at javax.mail.Transport.send0(Transport.java:169)
    at javax.mail.Transport.send(Transport.java:98)
    at MailSend.main(MailSend.java:116)
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to rel
    ay for [email protected]
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    ... 4 more
    com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for mkba
    [email protected]
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    at javax.mail.Transport.send0(Transport.java:169)
    at javax.mail.Transport.send(Transport.java:98)
    at MailSend.main(MailSend.java:116)
    Please let me know the reason for the same.

    Unable to relay - This happened because your Company network don't permit relay. Do talk to the network administrator and check with way safe you can send.
    I got the same problem, now im using through gmail.

  • Trying to send email photos but keep getting server did not reply. Server seems to working with other email.

    Trying to send email photos in iPhoto. Have been able to successfully do this in the past. Unfortunately now all I get is ..."server did not reply." The server seems to work for normal email.  Please advise.

    In the iPhoto preferences ==> accounts delete the account and re-ente it
    OR  IMHO the better solution is to simply set Mail as the email client in the iPhoto preferences
    LN

  • When I try to send email from phone I get message net sign in failed and the messages won't send

    Why do I get the message net sign in failed when I try to send email from my phone? This just started about a week ago and I am unable to send email.

        Hello yinz!
    Let's get those emails sending! When you get the message, does the device prompt you to sign in to your email? If so, does it give you a different error message? The same? What type of email is it? Are you able to send/receive if using the PC? One option is to uninstall, then reinstall the email account from your device. Please give that a try and keep me posted on the results.
    Thanks so much,
    ChristinaB_VZW
    VZW Support
    Follow us on Twitter @VZWSupport

  • Send email using CM API

    Is there a way to send emails using the SMTP Channels listed in Sys Adm - Sys Config - KM - config - CM - Utilities - Channels - EMAIL?
    Is there a Collaboration API for this? Javamail is one option but are there any other options?
    Thanks

    Hi Siddhartha,
    you can use the ChannelFactory of the KM API.
    The code would look somehow like:
    IChannel emailChannel = ChannelFactory.getChannel(ChannelFactory.EMAIL);
    Then use one of the <i>IChannel.sendTo</i> methods, to send the email.
    Another (more complex) way is to use the NotificatorService. The <i>NotificatorService</i> can take <i>INotification</i> objects, that will be processed by our XML/XSL Pipeline. The idea is to have a XML Template in the /etc/notification folder that is attached to a specific type of notification (e.g. Subscription), and which can be processed by a XSL (also in /etc/notification) to create a HTML/TEXT email. The is more complex but also more flexible to allow customers to simply change the notifications by editing the XML/XSL files.
    In this case the <i>NotificatorService</i> takes care of sending the (processed HTML) mail.
    Hope this gives some ideas....
    Regards Dirk

  • What SWO1 object uses by std. SAP to send email if OB IDOC get fails?

    Hello,
    We have SWO1 object IDOCAPPL in SWETYPECOU and we can use it to send an emaill to user's inbox, if IDOC get fails at all.
    But, this object is ONLY for inbound IDOCs.
    Am looking for similar object(SWO1) but my IDOCs are outbound, pls. let me know what object i can use from SWETYPECOU table to trigger email if my IDOC get fails? Here IDOC and FM are custom ones.
    or pls. let me know What SWO1 object uses by standard SAP to trigger email if outbound IDOC get fails (sales orders)?
    Thank you

    Changed requirements

  • HT201320 Added email to ipad can send email but can not get email message wrong password. Can some one help

    Added email to ipad can send email but can not receive.Message wrong password .Can some one help.Thanks

    No one here will know your password

  • ORA-22275 :invalid LOB locator specified error while loading BLOBs/CLOBS.

    Hello All,
    I am trying to load BLOB/CLOB data from a client oracle DB to the oracle db on our side,we are using ODI version 10.1.3.5.6,which reportedly has the issue of loading BLOB/CLOBS solved.I am using
    The extraction fails in the loading stage when inserting data into the C$ table with the following error.
    "22275:99999 :java.sql.BatchUpdateException:ORA-22275:Invalid LOB locator specified".
    Kindly let me know how I can resolve this issue as the requirement to load this data is very urgent.
    Thanks,
    John

    One alternate way can be done out of ODI as ODI is still not able to resolve this issue. You can trim these fields (CLOB/BLOB) and push this data as separate fields into ODI and at the reporting end you can again concatenate them.
    May be this may solve your problem ....it solved mine.
    --XAT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Keep resetting my apple id password. sends email but I never get it. NOW WHAT?

    I dont know where to turn. apple is so huge the online suppoet seems to be an infinite loop. I have followed all the steps to reset my apple id but it is not working and there is no where to go if it doesnt work. I manage my id. go to security choose to rest password it then tells me email is sent. It never comes.
    I am receiving other emails into my email account but not from apple.
    I need to reset it right away because while at church someone logged into my account, itunes, icloud and facetime.

    You'll need to contact iTunes support.  A link to support can be found at the bottom of every page in the iTunes store on your computer.

  • TS3899 ipad gets mail and sends email but can not get verification email from apple id

    any one that can help

    Hello, abodet. 
    Thank you for visiting Apple Support Communities.
    Try the steps in the article below to resend the verification email.  Make sure to check your email spam folders for this link.  You may have to access your spam folder via a web browser on a computer. 
    Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/HE68
    If you are still experiencing issues you may need to reach out to our account security team to help you with verifying your account.
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • GETTING AN INVALID PATH IN JSP ERROR WHEN PRESSING SUBMIT IN REVIEWSUBMIT.

    I am working in iProcurement, the ReviewSubmit page. The page has been extended to allow additional functionality.
    I loaded SP2 class files into my jDeveloper. When I try to compile any of our java files, I receive the following error:
    Error(1241,13): method processErrorRedirectsAfterSubmitReq(oracle.apps.fnd.framework.webui.OAPageContext, oracle.apps.fnd.framework.OAApplicationModule) not found in class dms.oracle.apps.icx.por.req.webui.DeamsReviewSubmitCOEX
    Below is the code from the program:
    if (hasErrors(oapc))
    processErrorRedirectsAfterSubmitReq(oapc, oaam);
    else
    displaySubmitConfirmation(oapc, number);
    If I use SP1 class files I have no problems compiling the java code.

    This is class dms.oracle.apps.icx.por.req.webui.DeamsReviewSubmitCOEX not in your classpath. if you working with jdeveloper 10 g then add this manually to your project.
    Thanks

Maybe you are looking for

  • Can i know how partner determination procedure with one time cust

    hi sap gurus, can i know how to determine partner determination procedure for one time customer. bcz its creating a problem in creation of salesorder and it is saying that no assignment of PDP is there for your one time customer. help me on this rega

  • Office Pro 8100 printing with Mac

    Since upgrading to Mac OX 10.10 (Yosemite) I have been having a strange problem.  I send something to the printer and I get a message "printer not connected" and "searching for printer".  Generally after 10 to 20 minutes the document suddenly prints.

  • How to sync safari passwords to my iPhone 6

    i can't seam to get the passwords in safari in to safari on my iPhone 6

  • Reloading images creates a "minicomp"?

    Hi I am very new to After Effects. I made the mistake to move around with my footage, and now some files are missing. When I want to reload them (e.g. "1.png") AE takes all my pictures (1.png to 29png) and throw them together as some sort of minincom

  • Plugin Visual Composer to Developer Studio

    Hello, im download the sap netweaver ce 7.2 then i create a workspace. then i import all plugin in this workspace. why cant i create a vc project?