# Runtime error: request URL is empty

**URL:** <https://community.postman.com/t/runtime-error-request-url-is-empty/55958>\
**Category:** Help Hub\
**Tags:** collections, authentication, empty\
**Created:** [December 26, 2023, 7:49am UTC](https://community.postman.com/t/runtime-error-request-url-is-empty/55958 "2023-12-26T07:49:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![saketkhopkar](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@saketkhopkar](https://community.postman.com/u/saketkhopkar)\
**Post date:** [December 26, 2023, 7:49am UTC](https://community.postman.com/t/runtime-error-request-url-is-empty/55958/1 "2023-12-26T07:49:15Z")

</div>

Hi all.

I am running an API provided with **clientId** and **clientSecret**. I am navigating to **Authentication Tab** and entering necessary details. Even though I am getting response as **200 OK** , I am getting this response on the console once I click on “Get new Access Token” under OAuth2.0 Authentication.

 ![postman-error](https://us1.discourse-cdn.com/getpostman/original/3X/f/0/f0dfca77d2636a86311919a370e8aadc43fed855.png)

Can anybody elaborate in depth why am I getting this error? It has been a major show-stopper in the project as I am relatively new to these concepts.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 26, 2023, 8:16am UTC](https://community.postman.com/t/runtime-error-request-url-is-empty/55958/2 "2023-12-26T08:16:46Z")

</div>

Hey @saketkhopkar 👋

Can you share the image of the request tab showing the URL? It’s showing a POST request in the console without a URL.

Have you saved all changes? What else do you have set in that Auth Helper?

Are you following some documentation that’s telling you the API uses that type of Auth?

---

<div class="post-metadata">

**Author:** ![saketkhopkar](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@saketkhopkar](https://community.postman.com/u/saketkhopkar)\
**Post date:** [December 26, 2023, 8:44am UTC](https://community.postman.com/t/runtime-error-request-url-is-empty/55958/3 "2023-12-26T08:44:27Z")

</div>

Yes for sure. Here is the full image with API URL:

 ![postman-error](https://us1.discourse-cdn.com/getpostman/original/3X/b/6/b6651f2c587b045eaee99125fc0a92e0957409b8.png)

I have been regularly saving all the changes too. The client with whom we have been working has provided us following details:

- A Client ID

- A Client Secret

As far as Authorization Tab is concerned, I have only entered the Client ID and Secret which was specified to us by the client.

We are not following any kind of documentation though. Only we have these 2 things and API URL with us. We are just using OAuth 2.0 as it might be the most suitable way of Auth.

Let me know if any more info needed.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 26, 2023, 8:57am UTC](https://community.postman.com/t/runtime-error-request-url-is-empty/55958/4 "2023-12-26T08:57:18Z")

</div>

Has there been a successful request sent without any errors and showing what you expect to see? Are all the other details in the token configuration correctly added? Does it provide a new token when hitting _Get New Access Token_?

What’s happening with the start of this url? Doesn’t look like that should be before `https://`. What unsaved changes do you have in that tab?

 ![Screenshot_20231226_085114](https://us1.discourse-cdn.com/getpostman/original/3X/e/a/ea1ee97269f4e59f4da8156dd800f9f2d4894922.jpeg)

If you have been provided these details and the method of Auth from a client, get clear documentation about how it’s used. Just picking an Auth helper and adding a couple of details to it, won’t just work automatically. 😅

---

<div class="post-metadata">

**Author:** ![saketkhopkar](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@saketkhopkar](https://community.postman.com/u/saketkhopkar)\
**Post date:** [December 26, 2023, 9:55am UTC](https://community.postman.com/t/runtime-error-request-url-is-empty/55958/5 "2023-12-26T09:55:34Z")

</div>

Seems like there are not enough details from the client side then. Maybe I will ask for some more specific details from their side.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [January 25, 2024, 9:56am UTC](https://community.postman.com/t/runtime-error-request-url-is-empty/55958/6 "2024-01-25T09:56:14Z")

</div>

Closed on January 25, 2024, 9:56am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
