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
Was implementing the Rasa-X integration, and ran into a 403 when calling the Airy API. I realized that the auth token is not passed into the response.post calls.
Since the config.py does take in the environment variable for the token, and in order to get the bug you have to run the rasa action server in debug mode it might be worth passing it in as default.
The recommended fix is adding authorization = {'Authorization': f'Bearer {self.system_token}'} and passing it in as a header. This fix solved my issues, so It might help/save some time for someone else!
The text was updated successfully, but these errors were encountered:
Was implementing the Rasa-X integration, and ran into a 403 when calling the Airy API. I realized that the auth token is not passed into the response.post calls.
Since the config.py does take in the environment variable for the token, and in order to get the bug you have to run the rasa action server in debug mode it might be worth passing it in as default.
The recommended fix is adding
authorization = {'Authorization': f'Bearer {self.system_token}'}
and passing it in as a header. This fix solved my issues, so It might help/save some time for someone else!The text was updated successfully, but these errors were encountered: