Re: what is my App-Id

Leyner_B
Helper

Where is my App-Id

I receive an error when I was trying to use the "Digital Card and Account Services" api, the message say "Missing Required Header: App-ID".

 

Where is my App-id?

 

and how should I put it in the header of my api call?

10 REPLIES 10
API_Products
Visa Developer Support Specialist

Re: Where is my App-Id

Hi,

 

Thanks for helping the Visa Developer Community every time you post questions and solutions to this forum! 

 

Can you please provide me with the project name, email address associated with the project, full body request and response of the error and screenshots? I will be able to retrieve the details of your App ID for you.

  

To see the Headers tab, you need to click on the most recent URL under the Name section.  Then you can scroll down to find the X-CORRELATION-ID, which you can provide to Developer@visa.com if the issue persists. Or in the name section, the app id of the project might be shown as well. Please follow the steps below to find your X-Correlation ID and Response Headers.

 

1>Open Chrome menu.

2>Click on More tools then Developer tools.

3>Check the box to Preserve Log for the Network Tab.

4>You can find the CR id in the network log for the project.

5> Correlation ID is located in the headers tab – Response Headers

 

Thank you,

Diana




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Leyner_B
Helper

Re: Where is my App-Id

1)))my project name is appForOfferCenter

 

2))))my email address associated with the project----->liucrowl@gmail.com

 

 

3)))the error response::::::::::::::::::::::::::::

 

{"resource":null,"processingTimeInMs":1,"receivedTimestamp":"2018-03-21 01:39:59.117","errors":["Missing Required Header: App-ID"]}

 

4))))my python code and my api call::::::::::::::::::::::::::::::::::::::

 

@app.route('/Tercera_ProbarVisaApi', methods=['GET', 'POST'])
def thirdpruebasvisasan():
#guia
#https://github.com/visa/SampleCode/issues/29
#funciono, ahora vamos por la informacion transaccional 🙂
user_id = 'WXQ7YB73Z44N1SWO5J912168-HImYxZfh0y3GtMHoDIeFEQuo'
password = 'ViC09RFXp9S0'

headers = {'content-type': 'application/json', 'accept':'application/json'}
#body='''{ "cardIdModel": [{"pan": "4883836336860016","lookUpBalances": true}]
#}'''
body = {"cardIdModel":[{"pan": "4386624808860046","lookUpBalances": True}]}

base_uri = 'vmorc/offers/'
resource_path = 'v1/all/'
urlAnterior = 'https://sandbox.api.visa.com/' + base_uri + resource_path
url ="https://sandbox.api.visa.com/dcas/cardservices/v1/cards"

r = requests.post(url,
cert = ('/home/labop/Documents/virtualEnv/visaUno/visaAmbiente/app/cert.pem','/home/labop/Documents/virtualEnv/visaUno/visaAmbiente/app/key_58f6245f-d3d8-4268-90e7-c18dcfe70e53.pem'),
headers = headers,
data= json.dumps(body),
auth = (user_id, password))

#print(r.status_code)
#data=json.loads(r.content)
return r.content

API_Products
Visa Developer Support Specialist

Re: Where is my App-Id

Hi,

 

Thanks for helping the Visa Developer Community every time you post questions and solutions to this forum! I have sent you an email with you App ID. Please check your email.

 

Thank you,

Diana




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

minasgull
Regular Visitor

Re: Where is my App-Id

Hello Diana.

 

I have same problem while invoking Digital Card and Account Services / Card Service's API.

Email: sergeyteryoshin@gmail.com

Project: TestApis

Logs: 

 

2018-08-23 11:30:04 INFO VisaAPIClient:185 - ResponseBody: {
    "resource" : {
        "transactions" : null,
        "hasMore" : false
    },
    "processingTimeInMs" : 0,
    "receivedTimestamp" : "2018-08-23 08:30:04.286",
    "errors" : [ "Missing Required Header: App-ID" ]
}

Code:

@Test(groups = "vctc")
public void testTransactionHistory() throws Exception {
String url = "dcas/cardservices/v1/cards/%s/transactions";
String cardNumber = "4883836336860016";
url = String.format(url, cardNumber);

CloseableHttpResponse response = this.visaAPIClient.doMutualAuthRequest(url, "Retrieve List ofTransactions", "", MethodTypes.GET, new HashMap<>());
Assert.assertEquals(response.getStatusLine().getStatusCode(), HttpStatus.SC_OK);
response.close();
}

 

API_Products
Visa Developer Support Specialist

Re: Where is my App-Id

Hi @minasgull,

 

I sent you an email with the App-Id. Hope that helps!

 

 

 

                             




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

JAJO
Regular Visitor

Re: Where is my App-Id

Below is my email and project name

Email is ajokuja@gmail.com 

Project is Reha

 

Hello I would like to get my App-Id 

API_Products
Visa Developer Support Specialist

Re: Where is my App-Id

Hey @JAJO,

 

Your App Id is db77aeea-ebf5-487f-abef-c75ca3bffcb7 . Please let us know if we can help with anything else.

 




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

rmnbsk
Dabbler

Re: Where is my App-Id

Thanks. I was looking for the app id. just got it.
Dhruv
New Contributor

Re: what is my App-Id

this is my project name:  Visa-Connect API

this is my email:  *****.

please share my app-id.