Closed levydanqc closed 3 years ago
probably similar to this issue on c# https://github.com/AstronomyAPI/Samples/issues/14#issuecomment-745199098
you're not passing the basic header correctly or the hash is not correct?
example curl code here should work with your hash too https://github.com/AstronomyAPI/Samples/issues/14#issuecomment-746074596
closing due to inactivity
Hi, I'm using a python script to call your astronomy api and I think I've tried every possible way to requests the data, but nothing seems to work. This error I get is 'User is not authorized to access this ressource with an explicit deny'
I think something is wrong with the headers : headers = { 'Authorization': 'Basic {}'.format(key) } My key is : key = b64.b64encode(keystr.encode()) And my key string is equal to my Application ID + ':' + Application Secret
Hope we'll find a solution. Thanks