restpostpostmanurl-shortenerbit.ly

Bitly URL Shortener - MISSING_ARG_LOGIN when trying to shorten URL


Bitly is returning the errorMessage "MISSING_ARG_LOGIN". I have already received my Access Token and am doing exactly what the documentation is saying. Has anyone had this issue and found a solution. Below are some pictures of what my Headers and Body look like in my Postman Request. The documentation doesn't say I need to send any login information. I have already tried plugging my username and password in the body request but I received the same error message.

Headers and Body in Postman Request:

Headers in Postman

Body in Postman


Solution

  • The problem was resolved when I opened a new tab and entered the Headers and Body information fresh. I also had to add the /v4/shorten to the end of the base URL. I was missing the /v4/.