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!
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!