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
There is a weird response behavior that i could't understand, when i try to send a client access token that does not matches with any of my custom intents, i get the following error
b'{"status":{"code":401,"errorType":"unauthorized","errorDetails":"You are not authorized for this operation. Invalid access token: EAACbVYVA6zcBALOf6UlyEuS8vVTZCPVxHHbBZCZCkVkZA26OZAJMgWERZBF8ldKpRFVTD9A0LnP6zDNRVPlgWJetCkldZAYEJTqpZCP8iVPCMPXBbGsFZBtZBZCUaaMhKAS8FQtZBUnwc5sCq8ZAKn55gfbjTAUF9Bj3kzfirMNeq3g3wAAz5feWL1nAE"}}'
The text was updated successfully, but these errors were encountered:
Hi there,
There is a weird response behavior that i could't understand, when i try to send a client access token that does not matches with any of my custom intents, i get the following error
import os.path
import sys
try:
import apiai
except ImportError:
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(file)), os.pardir))
import apiai
CLIENT_ACCESS_TOKEN = 'EAACbVYVA6zcBALOf6UlyEuS8vVTZCPVxHHbBZCZCkVkZA26OZAJMgWERZBF8ldKpRFVTD9A0LnP6zDNRVPlgWJetCkldZAYEJTqpZCP8iVPCMPXBbGsFZBtZBZCUaaMhKAS8FQtZBUnwc5sCq8ZAKn55gfbjTAUF9Bj3kzfirMNeq3g3wAAz5feWL1nAE'
def main():
ai = apiai.ApiAI(CLIENT_ACCESS_TOKEN)
if name == 'main':
main()
the error is as follows
b'{"status":{"code":401,"errorType":"unauthorized","errorDetails":"You are not authorized for this operation. Invalid access token: EAACbVYVA6zcBALOf6UlyEuS8vVTZCPVxHHbBZCZCkVkZA26OZAJMgWERZBF8ldKpRFVTD9A0LnP6zDNRVPlgWJetCkldZAYEJTqpZCP8iVPCMPXBbGsFZBtZBZCUaaMhKAS8FQtZBUnwc5sCq8ZAKn55gfbjTAUF9Bj3kzfirMNeq3g3wAAz5feWL1nAE"}}'
The text was updated successfully, but these errors were encountered: