There are two possible causes for this error:
1. URL is too long
There's a web standard limitation that we have no control over. The URL should be less than 2048 characters.
2. No "https://" at the start of the URL
Bitly mandates that the URL must commence with "https://". Please verify that the links you intend to shorten adhere to this stipulation.