Bitly's Shorten link API not working

I was using Bitly’s API to shorten links but the URL is empty and I do not know what to do with it. The result is that shorten link is not showing up on my page and there is just an empty space

You can see the error code 410… use the Bitly docs to work out what that means.