UNLocode Timezone

FREEMIUM
Door Marek | Bijgewerkt 2 years ago | Data
Populariteit

0.1 / 10

Latency

824ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

Getting Error - "You are not subscribed to this API." - While Executing from C# Code

Rapid account: Souravbhadra
souravbhadra
4 years ago

Getting Error - “You are not subscribed to this API.” - while executing from C# code.

Rapid account: Souravbhadra
souravbhadra Commented 4 years ago

Hello Marek,

I am really very sorry.

Actually I registered, not subscribed. But I thought I subscribed also.
Now I just subscribed for the UNLocode Timezone API and its working from my C# code as well.

Really very sorry, for giving you the trouble.

Thanks & Regards,
Sourav

Rapid account: Marek 5050
marek5050 Commented 4 years ago

Hello Sourav,

Unfortunately, I do not see you in the list of subscribed users for this API. In the top right corner next to “Test Endpoints” it should say “Subscribed” with a green checkmark. Can you please tell me what Subscription plan you selected?

Thank you,
Marek

Rapid account: Souravbhadra
souravbhadra Commented 4 years ago

Yes. Today only, I clicked the “Subscribe to Test” button, placed in the “Endpoints” page, to subscribe the API.
At 11:29 am I got the Welcome email from the id support@rapidapi.com.

My C# code (using RestSharp) is as follows :

var client = new RestClient(“https://unlocode-timezone.p.rapidapi.com/location/?unlocode=INCCU”);
var request = new RestRequest(Method.GET);
request.AddHeader(“x-rapidapi-host”, “unlocode-timezone.p.rapidapi.com”);
request.AddHeader(“x-rapidapi-key”, “my key”);
IRestResponse response = client.Execute(request);

So, would you please look into it.

Rapid account: Marek 5050
marek5050 Commented 4 years ago

Hello Sourav,

Are you subscribed to the API and using the proper token?

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen