What does “fetch_flush” mean?

I got an error of fetch_flush.
What does it mean?

Where did you get that error? Can you share more if the error message? Or some portions of the code that caused it?

1 Like

** (ArgumentError) flash not fetched, call fetch_flash/2


Your :api pipeline does not contain the plug :fetch_flash.

In general its quite uncommon to render HTML in the API pipeline.

From what I can see, the routes you have currently in the scope "/", … would be better suited in a scope that pipes_through :browser.


Thank you!