Error "400- INVALID_ARG_LONG_URL"

I'm getting this message when trying to shorten URLs using Bitly "The value provided is invalid."

Updated over a week ago

There are 2 possible cause for this error to appear

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.

💡Tip

If your form is meant to update an existing record, then you should send a miniExtensions form editing URL instead. The main feature of our form is that it allows you to edit existing records. It generates a unique ‘editing URL’ for every record in your table. This article guides you step-by-step on how to set this up.

Did this answer your question?