Getting Error - “You are not subscribed to this API.” - while executing from C# code.
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,
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?
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 firstname.lastname@example.org.
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-key”, “my key”);
IRestResponse response = client.Execute(request);
So, would you please look into it.
Are you subscribed to the API and using the proper token?
Junte-se à discussão - adicione o comentário abaixo: