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
Error when accessing via https://api.8base.com/<WORKSPACE_ID>/webhook/contacts?type=all #2
Comments
Hey @talgolan - did you deploy the function to a workspace? Are you getting this response when running it locally, or in the browser? |
Everything works perfectly via curl (command-line), but fails via a browser.
|
@talgolan can you send me the endpoint your calling in the browser? |
Hey @talgolan ! You need to deploy the custom function to your workspace. try running Do you have the CLI installed?
|
Done. What is your recommended approach for injecting the necessary "Auth" header into the HTTPS request? |
Hey! So two ways.
ctx.api.gqlRequest(QUERY, VARIABLES, { checkPermissions: false });
Lmk which you like better :) Sebastian |
Both ways are great. You cats are building something very special! https://api.8base.com/ck0fxfr9o000201l4afeveqo9/webhook/contacts?type=all |
{
"errors": [
{
"code": "EntityNotFoundError",
"message": "Webhook with path: '/ck0fxfr9o000201l4afeveqo9/webhook/contacts' and httpMethod: 'GET' is absent.",
"details": {
"webhook": "Webhook with path: '/ck0fxfr9o000201l4afeveqo9/webhook/contacts' and httpMethod: 'GET' is absent."
}
}
]
}
The text was updated successfully, but these errors were encountered: