API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  GraphQL OperationError

    Posted Mon December 05, 2022 09:48 AM
    Edited by Stephanie Wilkerson Mon December 05, 2022 01:17 PM
    when making a graphql call with a POST operation I get the error, but a get operation is fine
    {
        "errors": [
            {
                "message": "OperationError"
            }
        ]
    }


    ------------------------------
    Tom van Oppens
    ------------------------------


  • 2.  RE: GraphQL OperationError
    Best Answer

    Posted Mon December 05, 2022 09:50 AM
    Edited by Stephanie Wilkerson Mon December 05, 2022 01:17 PM
    Some GraphQL backends (I.E. based on express-graphql) don't handle compression correctly, disable compression in the invoke and it should be fine (in the properties of the invoke below)



    ------------------------------
    Tom van Oppens
    ------------------------------