Subject
- #Token Errors
- #Promise
- #API Calls
Created: 2025-01-26
Created: 2025-01-26 21:40
1. Multiple API calls are made.
2. Each API contains an authentication token.
3. If a token expiration error is received from the first API,
4. The remaining APIs will also generate errors. To resolve this...
-> When a token authentication expiration error is received from the first API, block the remaining API calls,
and first call the token issuance API.
* Note that Promise.all handles failure of even one API as an overall failure.
Comments0