Forum Stats

  • 3,770,398 Users
  • 2,253,103 Discussions
  • 7,875,439 Comments

Discussions

Intermittent 502 Errors when calling too many REST APIs

We are calling REST APIs in a For Loop in Parallel mode, which submits them all at once, When the count reaches more than 1000 we start getting 502 errors from REST APIs, any suggestion to fix this issue?

We are calling the FSCM REST APIs for this

/fscmRestApi/resources/11.13.18.05/priceLists/100000324095519/child/items/100000324103110/child/charges/100000324118906

/fscmRestApi/resources/11.13.18.05/priceLists/100000324095519/child/items/100000324103110/child/charges/100000324118906/child/chargesDFF

chargesDFF is the one causing issues

Answers