Hi

are your AAF pods up&running?
one of my colleague got such error recently
no aaf pods and an a java exception in aai due to the impossibility to reach 
aaf module.
The consequence was a 403 forbidden when calling the aai API.

/Morgan

________________________________
De : [email protected] [[email protected]] de la part de 
Lathish [[email protected]]
Envoyé : jeudi 4 juillet 2019 17:49
À : [email protected]; [email protected]
Objet : Re: [onap-discuss][AAI] AAI got access denied (403)

Hi Raju,

This worked for me in almost all the labs I have worked,

curl  -k --user VID:VID -H "Accept: application/json" -H "Content-Type: 
application/json" -H "X-TransactionId: 1234" -H "X-FromAppId: 1234" 
https://aai.api.simpledemo.onap.org:8443/aai/v14/cloud-infrastructure/cloud-regions/

if it fails, give a try with user 
[email protected]:demo123456<UrlBlockedError.aspx>!

/Lathish

From: [email protected] <[email protected]> On Behalf Of 
Thamlur Raju via Lists.Onap.Org
Sent: Thursday, July 4, 2019 3:38 PM
To: [email protected]
Subject: [onap-discuss][AAI] AAI got access denied (403)

Hi AAI Team,

I am using the Dublin release of AAI, when I am trying to access the API by 
curl command, it is giving error, as shown in below.


url:

curl -X GET -k -H 'Accept: application/json' -H 'Content-Type: 
application/json' -H 'x-FromAppId: SO' -H 'X-TransactionId: get_aai_subscr' -H 
'Authorization: Basic QUFJOkFBSQ==' -i 
'https://aai.api.simpledemo.onap.org:8443/aai/v14/cloud-infrastructure/cloud-regions/'

response:

HTTP/1.1 403 Forbidden
Connection: close
Date: Thu, 04 Jul 2019 14:30:36 GMT
Content-Type: application/json;charset=utf-8
Strict-Transport-Security: max-age=16000000; includeSubDomains; preload;

{"timestamp":1562250636966,"status":403,"error":"Forbidden","message":"Access 
Denied","path":"/aai/v14/cloud-infrastructure/cloud-regions/"}



Please suggest something on this issue.



Thanks & Regards,
[cid:[email protected]]<http://www.techmahindra.com/>

Thamlur Raju

NS-NDU-OSS

Bengaluru | India

| Ext : 858518



============================================================================================================================
 Disclaimer: This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. 
============================================================================================================================


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17875): https://lists.onap.org/g/onap-discuss/message/17875
Mute This Topic: https://lists.onap.org/mt/32308503/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to