PDF sync Error using http connector

I am trying to set up a blob to send data from NetSuite to Magento. As part of the testing process, I am currently trying to sync from one NetSuite folder to another NetSuite folder in the File Cabinet. The blob key is generating properly, but when I check using the Preview Request option, it shows:

[
  {
    "message": "Could not locate the blob object with blobKey \"blobKey\".",
    "source": "internal",
    "code": "no_object_found",
    "resolved": false,
    "occurredAt": 1767868179368,
    "statusCode": 404
  }
]

Even though the blob key is being fetched properly, the sync is not working.

Hi @Samson_Vincent

It looks like you are using a HTTP adaptor to push the PDF file to NetSuite. I’m confused on why you are using a HTTP adaptor instead of using a NetSuite transfer (Step Type: Transfer files into destination application) to push the label to NetSuite file cabinet. You can see in the below screenshot where i’m using a NetSuite Transfer to create the PDF file in file cabinet and getting the label id in the response mapping which i use later to attach the label to a sales order. I used one to many in my case because i’m getting multiple blobkey in case of multiple labels.

With the above configuration, you will be able to create the PDF file using blobkey in the file cabinet (Specify the folder id where you want to create the PDF file).

Hoping that this setup should resolve your issue.

Previews for blobs do not work. The blobKey you see in preview is a dummy key used only for preview. Try a real run to see if it's working.

He is trying to push a file from NetSuite to Magento, not Magento to NetSuite.

1 Like

Actually, @Samson_Vincent mentioned that he is trying to test the flow by pushing the data from NetSuite to NetSuite so that’s why i shared the NetSuite Transfer adaptor configuration details.

1 Like

@Ankit_Kumar Actullay i want to sync the pdf to magento to a custom endpoint which is not available yet as feasibility i just created a flow, by using http connector so in the future when i have the custom endpoint i can sync it without any fail