Cannot update the game

so whenever i try clicking the update button it gives me error code BLZBNTAGT00000840,and it said " Something went wrong with a file. We’re not sure what caused it, so please try again or click the code below for more information. Sorry about that!" and yes, i have tried scan and repair, redownloading the game, reload, restart computer, redownload launcher, and basically anything i can think of , it still gives the same error,what should i do?

Have you tried deleting the cache?

Delete the following folders:

  • Battle.net
  • Battle.net_components
  • Blizzard Entertainment

i just tried it, there is absolutely nothing that changed