You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have altered the code so the api URL contains .eu but I believe in the threatresponse library there may be other URL's that need editing. Is there an EU version of the library or somewhere I can update the region to EU?
C:\Users\me\amp-tr-04-cleanup-scd-lists-master>python cleanup_scd.py
Traceback (most recent call last):
File "cleanup_scd.py", line 260, in
main()
File "cleanup_scd.py", line 184, in main
client = ThreatResponse(
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\client.py", line 40, in init
request = ClientAuthorizedRequest(request,
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\request\authorized.py", line 24, in init
self._token = self._request_token()
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\request\authorized.py", line 50, in _request_token
response.raise_for_status()
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\request\response.py", line 34, in raise_for_status
raise extended(error)
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\request\response.py", line 32, in raise_for_status
self._response.raise_for_status()
File "C:\Program Files (x86)\Python38-32\lib\site-packages\requests\models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://visibility.amp.cisco.com/iroh/oauth2/token
{
"error": "invalid_client",
"error_description": "unknown client",
"error_uri": "https://tools.ietf.org/html/rfc6749#section-5.2"
}
The text was updated successfully, but these errors were encountered:
I have altered the code so the api URL contains .eu but I believe in the threatresponse library there may be other URL's that need editing. Is there an EU version of the library or somewhere I can update the region to EU?
C:\Users\me\amp-tr-04-cleanup-scd-lists-master>python cleanup_scd.py
Traceback (most recent call last):
File "cleanup_scd.py", line 260, in
main()
File "cleanup_scd.py", line 184, in main
client = ThreatResponse(
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\client.py", line 40, in init
request = ClientAuthorizedRequest(request,
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\request\authorized.py", line 24, in init
self._token = self._request_token()
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\request\authorized.py", line 50, in _request_token
response.raise_for_status()
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\request\response.py", line 34, in raise_for_status
raise extended(error)
File "C:\Program Files (x86)\Python38-32\lib\site-packages\threatresponse\request\response.py", line 32, in raise_for_status
self._response.raise_for_status()
File "C:\Program Files (x86)\Python38-32\lib\site-packages\requests\models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://visibility.amp.cisco.com/iroh/oauth2/token
{
"error": "invalid_client",
"error_description": "unknown client",
"error_uri": "https://tools.ietf.org/html/rfc6749#section-5.2"
}
The text was updated successfully, but these errors were encountered: