Tightknit Community Icon

API Error for Creating Calendar Events in Staging Environment

·
·

I'm getting an error when using the API site using the built in payload Also getting same error in my staging environment with real data This is for creating calendar events

  • Avatar of Zach H.
    Zach H.
    ·
    ·

    EJ W. could you also share the input parameters? Want to see what’s in pages

  • Avatar of EJ W.
    EJ W.
    ·
    ·

    It's literally all defaults

  • Avatar of EJ W.
    EJ W.
    ·
    ·

    The only thing I changed/added is my API key

  • Avatar of Stephen C.
    Stephen C.
    ·
    ·

    Hey EJ W.! Taking a look now...

  • Avatar of Stephen C.
    Stephen C.
    ·
    ·

    To confirm, these are the defaults you're seeing?

  • Avatar of Stephen C.
    Stephen C.
    ·
    ·

    EJ W. I'm not able to reproduce the issue from my side. I'll reach out so we can link up and see if I'm missing anything.

  • Avatar of EJ W.
    EJ W.
    ·
    ·

    No, I'm trying to use the create events post endpoint

  • Avatar of Stephen C.
    Stephen C.
    ·
    ·

    Ah got it! Let me look again.

  • Avatar of Stephen C.
    Stephen C.
    ·
    ·

    EJ W. There is a bug where we are returning the incorrect error message when the cover_image_file_id is invalid. We'll have a fix out shortly! You can remove the cover_image_file_id from the payload, or use the File Upload API to use a real file. That said, there are several other IDs in the example data that serve as samples and don't point to real records, such as the Slack channel IDs and user IDs. You'll need to modify them for your real Slack workspace data accordingly.

  • Avatar of Stephen C.
    Stephen C.
    ·
    ·

    Update: The incorrect error message is fixed.