UNLocode Timezone

FREEMIUM
Por Marek | Atualizado 2 years ago | Data
Popularidade

0.1 / 10

Latência

659ms

Nível de serviço

100%

Health Check

N/A

Voltar para todas as discussões

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

Rapid account: Souravbhadra
souravbhadra
3 years ago

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

Rapid account: Souravbhadra
souravbhadra Commented 3 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 3 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 3 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 3 years ago

Hello Sourav,

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

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários