Forum Discussion

rfarag's avatar
rfarag
New Contributor
4 years ago

SharePoint Snaps

I am using the SharePoint Snaps to move data to SharePoint online list. In my SharePoint snaps, I am using an expression for the SharePoint site name to connect to different sites based on the input data. If the input data has one site name the snap connects to SharePoint without any issues but If the input data has multiple site names the snap fails with HTTP Response Code:404. Any thoughts?

10 Replies

    • mbowen's avatar
      mbowen
      Employee

      Hi @rfarag
      You can hold off on creating a support ticket. I’m going to engage a colleague to contribute here.

      • patan's avatar
        patan
        New Contributor III

        Can you please share the exact scenario you are trying to build by sharing the steps or possibly the test pipeline itself to reproduce the problem.
        The sites property is expression enabled and hence supports dynamic values.

  • rfarag's avatar
    rfarag
    New Contributor

    My pipeline is very simple. I have a JSON Generator snap with the following JSON:
    {“Site”:“site1”,“Title”:“Item 1”},{“Site”:“site2”,“Title”:“Item 1”}

    This snap is connected to a mapper snap with the following mapping:
    Expression Target Path
    $Site $SPSite
    $Title $Payload.Title

    Finally the mapper snap is connected to the “SharePoint Online - Create List” snap:
    The properties for this Snap is as follows:
    Site : $SPSite (set as expression)
    List name: TestList
    “Create list” checkbox is unchecked

    In my SharePoint online tenant I have two site collections (sites/site1 and Sites/site2) each has a list called TestList.

    When I run the pipeline, an item is created in TestList on site1 but then it errors out at the “SharePoint Online - Create List” snap with the error message:
    “HTTP Response Code: 404; Response Message: The specified list was not found”
    and no item is created in the TestList on site2

    If my JSON Input entries have the same value for site, the pipeline works fine.

    • patan's avatar
      patan
      New Contributor III

      Can you please rise a support ticket for this, so that I can take it forward to the development team with all details.

    • mbowen's avatar
      mbowen
      Employee

      Here’s an entry point. You can create a ticket by selecting the region at the bottom of the page. Of course, can call too.

  • rfarag's avatar
    rfarag
    New Contributor

    I am unable to open a support ticket as I am not registered with SnapLogic Customer Support and SnapLogic Customer Support does not offer self-registration.

  • dmiller's avatar
    dmiller
    Former Employee

    Each company has designated people that have access to contact Support.
    I will inform your Customer Success Manager .

    • mbowen's avatar
      mbowen
      Employee

      Hi @rfarag

      fyi. This has been fixed and is available in SharePoint snap pack build, main89.