Refresh Show Error : Web Content Failed To Get Contents..

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,089
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all...
in the several days my dashboard is as well but today since i refresh my excel sheet into dropbox, show message '
batam
Web.Contents failed to get contents from 'https://www.dropbox.com/s/dl/6f28pq3sw2k18sm/KPKNL BATAM 2022.xlsx' (404): Not Found'
i'm using Excel 2021, power bi desktop

how to fix the problem?
my excel file ever renaming but today is back to original file name
why still error, can't refreshing data.

maybe someone give me a solution.
thank in advance
susant
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
hi suat, i found new problem, why now not connected.. here my complete code
the fact, the file can be download
Power Query:
let
    Source = Excel.Workbook(Web.Contents("https://www.dropbox.com/scl/fi/tnsdg5fgtzm688t9g2uki/KPKNL-BUKITTINGGI-2022..xlsx?dl=1"), null, true)
in
    Source
show message "DataSource.Error: The downloaded data is HTML, which isn't the expected type. The URL may be wrong or you might not have provided the right credentials to the server"
 
Upvote 0
hi suat, i found new problem, why now not connected.. here my complete code
the fact, the file can be download
Power Query:
let
    Source = Excel.Workbook(Web.Contents("https://www.dropbox.com/scl/fi/tnsdg5fgtzm688t9g2uki/KPKNL-BUKITTINGGI-2022..xlsx?dl=1"), null, true)
in
    Source
show message "DataSource.Error: The downloaded data is HTML, which isn't the expected type. The URL may be wrong or you might not have provided the right credentials to the server"
Since this one is a protected source or somehow it requires your permission to access (you might have selected to share with "Only people invited" instead of "Anyone"), Dropbox will return an HTML page with the proper response code to ask for permission/code/password etc.

You need to set it to be "Anyone who has the link" to make it work.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top