Skip to content

401 Unauthorized Error when Configuring Scheduler for /wakeup API Endpoint #1

@WildfootW

Description

@WildfootW

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

  1. Modified the render.yaml file as per the deployment instructions.
  2. Successfully created a new instance on Render's blueprint using the modified render.yaml.
  3. Received the service URL and appended /callback to construct the webhook URL.
  4. Pasted the webhook URL into the LINE Webhook URL section on LINE Developers.
  5. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions