Joseph
NNovu
•Created by Joseph on 8/10/2024 in #💬│support
Production api keys Unauthorized
Hello, I am using novu cloud. I created a workflow for development succesfully using the following code from python sdk:
template = NotificationTemplateFormDto(
name="123",
notification_group_id="66b6966dd0a367cc890a1515"
)
template.steps = [{"template": {"type": "email", "subject": "test", "provider": "ses"}}]
novu.api.NotificationTemplateApi().create(notification_template=template)
But when I use the api key of production I am getting :
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.novu.co/v1/notification-templates
14 replies