What is the way in RxJS to keep collecting results from multiple and different http calls independently on when one of those fails?

Solution 1:

To solve your problem, you have to catch the error and treat it correctly in the inner observable

return forkJoin({
  a: this.getA(),
  b: this.getB(),
  c: this.getC().pipe(catchError(error => of(error)))
})

// If getC fails, you would get A and B

My question is whether you have to add this treatment only to the last element or to all of them. You will have to try it yourself, please let me know in the comments.

See HERE the Example 5: Getting successful results when one inner observable errors