SOLVED

Identity API url not working

Go to solution
Treypressey1
Level 1

Identity API url not working

Trying to use my identity url to get an access token so I can create leads in python. Repeatedly getting an error saying that the url doesn't exist and that the nodename or servname is not known. I'm unable to use any of the REST endpoints because of this. Even when I manually create an access token through the admin panel and try and hit the 'create lead' endpoint, I get the same DNS error.

 

Do I need to somehow 'activate' my API url or something? Am I missing a step?

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Identity API url not working

You should open a Support case: this isn't normal, there should be a DNS A record automatically created when your instance is provisioned.

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Identity API url not working

You're gonna have to provide more info, like the URL. Don't worry, it's not secret (anyone can derive it from your Munchkin ID).
Treypressey1
Level 1

Re: Identity API url not working

URL = https://503-ICE-271.mktorest.com/identity

Trying to get access token by using this url structure:https://503-ICE-271.mktorest.com/identity/oauth/token?grant_type=client_credentials&client_id=<Client Id>&client_secret=<Client Secret>

SanfordWhiteman
Level 10 - Community Moderator

Re: Identity API url not working

You should open a Support case: this isn't normal, there should be a DNS A record automatically created when your instance is provisioned.