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

POST /api/v2/accounts/<account_id>/jobs/<job_id>/run returning HTTP 405 #7

Open
joeyorlando opened this issue Aug 11, 2021 · 1 comment

Comments

@joeyorlando
Copy link

(cross posting from #dbt-cloud slack channel (thread)

hello 👋 (first time poster here).

I'm fairly certain that the POST /api/v2/accounts/<account_id>/jobs/<job_id>/run endpoint may be not working as intended. I'm making a POST request (see screenshot below) and dbt's API is returning:

405 Method Not Allowed
{
  "detail": "Method \"GET\" not allowed."
}

Screen Shot 2021-08-11 at 1 47 12 PM

@joeyorlando
Copy link
Author

in case any-one else is coming across this, the solution which was discussed here on Slack is to add a trailing-slash. I'm assuming a fix will get pushed for this fairly soon though

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

1 participant