Description
I am encountering a 401 Unauthorized error when trying to configure the scheduler (Cron-job) to invoke the /wakeup API endpoint, as per the last instruction in the deployment guide.
Steps to Reproduce
- Modified the
render.yaml file as per the deployment instructions.
- Successfully created a new instance on Render's blueprint using the modified
render.yaml.
- Received the service URL and appended
/callback to construct the webhook URL.
- Pasted the webhook URL into the LINE Webhook URL section on LINE Developers.
- Attempted to configure the scheduler to invoke the
/wakeup API endpoint.
Expected Behavior
The scheduler should successfully invoke the /wakeup API endpoint without authorization issues.
Actual Behavior
Received a 401 Unauthorized error when the scheduler tried to access the /wakeup API endpoint.
Possible Causes/Suggestions
- Is there a specific format or additional requirements for the API_ACCESS_TOKEN?
Description
I am encountering a 401 Unauthorized error when trying to configure the scheduler (Cron-job) to invoke the /wakeup API endpoint, as per the last instruction in the deployment guide.
Steps to Reproduce
render.yamlfile as per the deployment instructions.render.yaml./callbackto construct the webhook URL./wakeupAPI endpoint.Expected Behavior
The scheduler should successfully invoke the
/wakeupAPI endpoint without authorization issues.Actual Behavior
Received a 401 Unauthorized error when the scheduler tried to access the
/wakeupAPI endpoint.Possible Causes/Suggestions