I am working of a custom digital ocean function which i want to add a scheduler, to run at a custom time.
parameters: {}
environment: {}
packages:
- name: sample
shared: false
environment: {}
parameters: {}
annotations: {}
functions:
- name: hello
binary: false
main: ""
runtime: python:default
web: true
triggers:
- name: trigger-hello
sourceType: scheduler
sourceDetails:
cron: "* * * * *"
webSecure: false
parameters: {}
environment: {}
annotations: {}
limits: {}
but i keep getting this error
Deployed functions ('doctl sls fn get <funcName> --url' for URL):
- sample/hello
Failures:
Error: While deploying while deploying trigger 'trigger-hello': Request failed with status code 401
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hey @segunsakaaiyedun,
As my colleague Matt suggested in the comment section, an you open a support ticket, you can do this via the link here:
Hope that helps!
- Bobby.