FHIR / sample-ig

A sample, template-driven implementation guide that provides instruction on creating IGs
Other
41 stars 65 forks source link

Response 500 when adding webhook #46

Closed njw-bupt closed 3 years ago

njw-bupt commented 3 years ago

Hi~ After adding webhook according to the readme, an error with code 500 was returned. How to solve this issues?

image

lmckenzi commented 3 years ago

What webhook and what readme are you referring to?

njw-bupt commented 3 years ago

What webhook and what readme are you referring to?

I referred to cibuild.txt in classnotes webhook: https://us-central1-fhir-org-starter-project.cloudfunctions.net/ig-commit-trigger

lmckenzi commented 3 years ago

Is your Git project public? Did you set up the Webhook to use JSON?

njw-bupt commented 3 years ago

Yes, it is a public repository. And I set the content-type to application/json.

costateixeira commented 3 years ago

Did you make a commit after setting up the webhook? If not, can you do so? I believe the first response after you setup the webhook is this eror, but once you from the first commit or Pull Request on the master branch the subsquent responses are ok. Just in case, this is the working configuration of the webhook image

njw-bupt commented 3 years ago

It works! Thank you very much!