Mapbox Map Plugin - Failed to load marker image. Try a valid image!

I am repeatedly getting this error when trying to load mapbox with 3 markers from database data. I tried with png, jpg, svg files but no luck. Anyone has any idea why this might be happening?

I even tried sample icon files from internet but the error does not go away at all.

Could be the url is wrong. Share screenshot

It’s a local image in my computer hence url is not the issue.

How are you giving the image to Mapbox? Normally it’s via a URL

Just so that you know - i finally found the issue - API key was expired and Mapbox plugin was throwing an error which was quiet misleading - nothing wrong with the icon image or url.

This topic was automatically closed after 70 days. New replies are no longer allowed.