Apr 1, 2024
There are multiple ways you will handle situation line that. Request failure during polling is a very common case (429 status code sent by backend during polling is a common case), in such cases the frontend needs to be robust.
Also there are many reasons why the frontend shouldn't be allowed to pass the ID for the job. That's bad.