Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

totp Endpoint not found #1601

Open
huoxinbird opened this issue Jan 21, 2025 · 1 comment
Open

totp Endpoint not found #1601

huoxinbird opened this issue Jan 21, 2025 · 1 comment

Comments

@huoxinbird
Copy link

Hi,

I was testing skyvern locally.
I want it to log into an website and submit a form
In order to log in, the website asked for a one time code from email or sms.
Following the instruction from this doc, I ran the following curl to post to local skyvern sever.

curl 'http://localhost:8000/api/v1/totp' -X POST -H "Content-Type: application/json" -H "x-api-key: my api key" --data-binary '{"totp_identifier": "my phone number","content": "Your verification code is 123456","task_id": "tsk_322038218912964750"}'

The response was: {"detail":"Not Found"}

I can't seem to find the totp route in
https://github.com/Skyvern-AI/skyvern/blob/main/skyvern/forge/sdk/routes/agent_protocol.py

Was the route defined somewhere else? Or was my curl command incorrect?
Any help is appreciated!

@suchintan
Copy link
Contributor

@wintonzheng did we open source this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants