cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linked CSS file with ?raw=1 does not load anymore, but images embedded the same way do

Linked CSS file with ?raw=1 does not load anymore, but images embedded the same way do

GuidoB
New member | Level 2

Hello,

 

I've had a CSS file called with ?raw=1 from within ~70 eBay articles suddenly drop dead yesterday. It loads on its own, but closer inspection revealed that CSS files completely refuse to load when linked inside any HTML using the ?raw=1 extension, but still works when changing www.dropbox to dl.dropbox or ?dl=1. 

As evidenced here...

Broken: https://www.ebay.de/itm/153032054357
Fixed with dl.dropbox: https://www.ebay.de/itm/153054110707 

 

The very strange thing is that this only happens on the CSS file, not on the few images also linked in the same way from the same Dropbox account. 

 

Do I really have to edit almost 70 articles by hand? Do I have to change the image links as well because they might stop working too at some point?

 

This is obviously a major headache and I'd appreciate any help or suggestions.

1 Reply 1

Greg-DB
Dropbox Staff

[ Cross-linking for reference: https://stackoverflow.com/questions/50755249/serving-css-via-dropbox-suddenly-stopped-working ]

 

Based on the error message included in the StackOverflow post, this isn't working because, while the link is returning the CSS data, the browser isn't loading it because it doesn't have a Content-Type response header containing a css content type. I can't make any promises, but I'm bringing this up with the team to see if we can get this behavior changed.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?