You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using your DLL in US and BR domain. In US Domain report request part in working fine but same thing in brazil domain we are getting error here is my code
Dim dtStartDate As DateTime = Date.Now Dim Rpara As New Parameter.Report.ParameterCreateReportSpecification If iReportType = 0 Then Rpara.reportType = Utils.Constants.ReportTypes.GET_FLAT_FILE_ACTIONABLE_ORDER_DATA_SHIPPING dtStartDate = Date.Now.AddHours(-150) ElseIf iReportType = 1 Then Rpara.reportType = Utils.Constants.ReportTypes.GET_SELLER_FEEDBACK_DATA dtStartDate = Date.Now.AddDays(-10) End If Dim iYear As String = dtStartDate.Year.ToString Dim imonth As String = dtStartDate.Month.ToString Dim iDay As String = dtStartDate.Day.ToString If CInt(imonth) <= 9 Then imonth = "0" & imonth End If If CInt(iDay) <= 9 Then iDay = "0" & iDay End If Dim strDate As String = iYear.ToString & "-" & imonth & "-" & iDay Rpara.dataStartTime = strDate Dim MPI As New Utils.MarketplaceIds MPI.Add(_MarketPlaceId) Rpara.marketplaceIds = MPI Dim strReportId As String = amzcon.Reports.CreateReport(Rpara) If String.IsNullOrEmpty(strReportId) = False Then Dim RPT As New AmazonSpApiSDK.Models.Reports.Report RPT = amzcon.Reports.GetReport(strReportId) If RPT IsNot Nothing Then END IF END IF
Error i am getting is Access to the resource is forbidden
Though my User Role and other things in IAM is created same as in BR and US.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am using your DLL in US and BR domain. In US Domain report request part in working fine but same thing in brazil domain we are getting error here is my code
Dim dtStartDate As DateTime = Date.Now Dim Rpara As New Parameter.Report.ParameterCreateReportSpecification If iReportType = 0 Then Rpara.reportType = Utils.Constants.ReportTypes.GET_FLAT_FILE_ACTIONABLE_ORDER_DATA_SHIPPING dtStartDate = Date.Now.AddHours(-150) ElseIf iReportType = 1 Then Rpara.reportType = Utils.Constants.ReportTypes.GET_SELLER_FEEDBACK_DATA dtStartDate = Date.Now.AddDays(-10) End If Dim iYear As String = dtStartDate.Year.ToString Dim imonth As String = dtStartDate.Month.ToString Dim iDay As String = dtStartDate.Day.ToString If CInt(imonth) <= 9 Then imonth = "0" & imonth End If If CInt(iDay) <= 9 Then iDay = "0" & iDay End If Dim strDate As String = iYear.ToString & "-" & imonth & "-" & iDay Rpara.dataStartTime = strDate Dim MPI As New Utils.MarketplaceIds MPI.Add(_MarketPlaceId) Rpara.marketplaceIds = MPI Dim strReportId As String = amzcon.Reports.CreateReport(Rpara) If String.IsNullOrEmpty(strReportId) = False Then Dim RPT As New AmazonSpApiSDK.Models.Reports.Report RPT = amzcon.Reports.GetReport(strReportId) If RPT IsNot Nothing Then END IF END IF
Error i am getting is Access to the resource is forbidden
Though my User Role and other things in IAM is created same as in BR and US.
can someone please help me in this issue?
Beta Was this translation helpful? Give feedback.
All reactions