401 Unauthorized - Salesforce to MS Dynamics

  • 28Views
  • Last Post 05 December 2022
0
votes
brendan dunleavy posted this 01 December 2022

We have a package that imports data from Salesforce into MS Dynamics.

It runs for 2 or 3 hours,and data can be seen importing into Dynamics, but then throws "The remote server returned an error: (401) Unauthorized."

We ran this package before but with a smaller data set and always completed succesfully. Can you please provide more info because the error is all we got. Maybe you can help us identify if it is originating from Salesforce or Dynamics?

Run ID: 114334730

Thanks.

Order By: Standard | Newest | Votes
0
votes
Serhii Muzyka posted this 02 December 2022

Hi,

We are really sorry for the inconvenience.

 

The issue is caused by complexity of the package and big amount of data.

Please try to decrease the bath size in your Dynamics connection

and reduce amount of data if possible. Let us know the result.

 

Should you have any other questions, don't hesitate to reach out.

 

Best regards,

Serhii

0
votes
brendan dunleavy posted this 05 December 2022

Good morning,

I did change the batch size setting as suggested.

However still got the same issue. I noticed from your screen shot that there is also batch size (custom size) is set to 2000.

Should we change that? and what is that setting for? thanks

0
votes
Serhii Muzyka posted this 05 December 2022

Hi,

We are really sorry that the issue is still there.

 

The Batch Size option provides you with better control over the number of rows in batches that are sent to the target data source. It specifies the number of rows to cache in a buffer before sending them to the target. Thus, it allows to always send batches of a fixed size to the target.

This can be useful both to increase the batch size for loaded data in order to load more records per an API call to improve API call use efficiency, and to decrease batch size if the target has some additional custom limitation or if smaller batches provide better performance. Please see more about the Import package here:https://docs.skyvia.com/data-integration/import/import-package.html

Yes, please try to change that Batch size to 10 or Auto. Also, please try to reduce the amount of data in your package.

Let us know the result.

 

Best regards,

Serhii

Close