• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

WebhookRequest error

Scheduled Pinned Locked Moved
General Discussion
2
2
127
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    fedir.sinchuk
    last edited by 13 Dec 2021, 11:35

    Hello

    I`am trying to create webhook via terraform and gpsinsight/fusionauth v0.1.57

    Api call result:

    Error: unexpected status code: 400(Bad Request) Errors: webhook.eventsEnabled: Invalid JSON in the request body. The property was [webhook.eventsEnabled]. The error was [Possible conversion error]. The detailed exception was [Cannot deserialize Map key of type `io.fusionauth.domain.event.EventType` from String "audit-log.create": not a valid representation
    │  at [Source: (org.apache.catalina.connector.CoyoteInputStream); line: 1, column: 97] (through reference chain: io.fusionauth.domain.api.WebhookRequest["webhook"]->io.fusionauth.domain.Webhook["eventsEnabled"])].
    

    Does any one saw something like this ?

    J 1 Reply Last reply 20 Dec 2021, 21:47 Reply Quote 0
    • J
      joshua @fedir.sinchuk
      last edited by 20 Dec 2021, 21:47

      @fedir-sinchuk,

      I am not very familiar with terraform myself. Have you resolved this issue or can you provide any more context feedback about what you are attempting to accomplish and any additional errors you are seeing?

      Thanks,
      Josh

      1 Reply Last reply Reply Quote 0
      • First post
        Last post