IBM Support

IT17027: API CALL TO CREATE MAILBOX MESSAGE RETURNS ERRORCODE: 400 - MAILBOX: /<MAILBOXNAME>/<NESTEDMAILBOX> DOES NOT EXIST

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Sterling B2B Integrator 5.2.6.2, Interim Fix 1, attempt to
    use the "Create Mailbox Message" API with API user credentials
    fails with  the following error even if the mailbox exists:
    "errorCode": 400,
    "errorDescription": "Mailbox: /<mailboxName>/<nestedMailbox>
    does not exist"
    
    When logging into the mailbox via SFTP or FTP, a file can be
    transferred to these mailboxes successfully.
    Error message in the messages.log
    
    [8/25/16 8:05:43:329 EDT] 00000799
    com.ibm.tenx.ws.WebServiceServletE
    GORCR9999E:                 None: Mailbox:
    /B2BAPIs/svc/mailboxes/1234/MAILBOXNAME/MAILBOXNAME1 does not
    exist
    com.ibm.tenx.ws.WebServiceException: Mailbox:
    /B2BAPIs/svc/mailboxes/1234/MAILBOXNAME/MAILBOXNAME1 does not
    exist
     at
    com.ibm.tenx.ws.ui.WebServiceBrowser.execute(WebServiceBrowser.j
    ava:518)
     at
    com.ibm.b2b.api.IntegratorWebServiceBrowser.execute(IntegratorWe
    bServiceBrowser.java:32)
     at
    com.ibm.tenx.ws.WebServiceServlet.processWebServiceRequest(WebSe
    rviceServlet.java:268)
     at
    com.ibm.tenx.ws.WebServiceServlet.service(WebServiceServlet.java
    :190)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1287)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:778)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:475)
     at ...
    ...
    ...
    Caused by: com.ibm.tenx.core.exception.BaseException: Mailbox:
    /B2BAPIs/svc/mailboxes/1234/MAILBOXNAME/MAILBOXNAME1 does not
    exist
    
     console.log
    
    console.log
    [ERROR   ] GORCR9999E:                 None: Mailbox:
    /B2BAPIs/svc/mailboxes/1234/MAILBOXNAME/MAILBOXNAME1 does not
    exist
    Mailbox: /B2BAPIs/svc/mailboxes/1234/MAILBOXNAME/MAILBOXNAME1
    does not exist
    

Local fix

  • STRRTC - 513058
    SB / SB
    
    Circumvention:
    
    If the user ID has a virtual root assigned, then ensure the
    mailbox path specified in the "Create Mailbox Message" API is
    the relative mailbox path to the virtual root, not the absolute
    mailbox path.
    Once you use the relative path, the errorCode:400 is returned,
    however the message does get added to the mailbox.  Check the
    mailbox and verify that the message was added.
    
    This fix will remove the false errorCode:400 when the message
    is successfully added to the mailbox using the relative mailbox
    path.
    

Problem summary

  • Users Affected:
    All
    
    Problem Description:
    API call to create mailbox message returns errorCode:400
    errorDescription:Mailbox: /<mailboxName>/<nestedMailbox> does
    not exist
    
    Platform Affected:
    All
    

Problem conclusion

  • Resolution Summary:
    A code fix is provided.
    
    Delivered in:
    5020602_2
    5020603
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT17027

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    526

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-09-13

  • Closed date

    2016-10-06

  • Last modified date

    2016-12-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"Sterling B2B Integrator"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.6","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 September 2023