You have an invalid character - 'f'
headers = {
"Authorization": f"Bearer {access_token}",
"Content-Type": "application/json"
}
change to:
headers = {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/json"
}
The error message is the clue:
No HTTP resource was found that matches the request URI
This is saying that the data does not exist at that address. Check that the URL is correct. Also, see if there is a response code, that can also indicate what the issue is - could be that there is an authorization issue.