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

Handle Glip Webhook API Errors #2

Open
grokify opened this issue Mar 23, 2020 · 0 comments
Open

Handle Glip Webhook API Errors #2

grokify opened this issue Mar 23, 2020 · 0 comments

Comments

@grokify
Copy link
Owner

grokify commented Mar 23, 2020

When a 200 OK response handled, optionally allow client to return 400 status for better downstream handling:

{
  "status":"error",
  "message":"Your request was accepted, however a post was not generated",
  "error":"Invalid Custom payload",
  "validation":[
    "payload.attachments[0].fields[1] should have required property 'value'"
  ]
}
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