err.response: {       "data": {         "error": {           "code": "Internal_RecordNotFound",

 If did not run Assist Setup
Written by Claus Petersen
Updated 11 months ago

For each company you need too run the assistes setup, even if you dont use the integration, else you will get this error on salesinvoice/salesorder/credit memo

   err.response: {

      "data": {

        "error": {

          "code": "Internal_RecordNotFound",

          "message": "The Sproom Service Setup does not exist. Identification fields and values: Primary Key=''  CorrelationId:  82655d62-f3ec-4811-b7bd-066c502af750."

        }

      },

      "status": 404,

      "headers": {

        "transfer-encoding": "chunked",

        "content-type": "application/json",

        "vary": "Accept-Encoding",

        "server": "Microsoft-HTTPAPI/2.0",

        "access-control-allow-headers": "Origin, X-Requested-With, Authorization",

        "access-control-allow-origin": "*",

        "access-control-allow-credentials": "true",

        "ms-correlation-x": "e7c7f73c-bbd1-0e26-6221-28ed91d92fa3",

        "mise-correlation-id": "5ea026be-6c27-4f2a-bffb-5ac825cf4f90",

        "access-control-expose-headers": "Date, Content-Length, Server, OData-Version, ms-correlation-x",

        "request-id": "82655d62-f3ec-4811-b7bd-066c502af750",

        "x-content-type-options": "nosniff",

        "strict-transport-security": "max-age=31536000; includeSubDomains",

        "date": "Fri, 12 Jan 2024 08:11:21 GMT",

        "connection": "close"

      }

    }

Did this answer your question?