Error on claim submission

Dear Support,

we are getting error on compliance environment while submitting claims.

Error

"{\"errors\":[{\"message\":\"A middleware error was encountered while trying to submit claim.\",\"field\":\"\"}]}"

 

Please find below full JSON.

Dear Support,

we are getting error on compliance environment while submitting claims.

Error

"{\"errors\":[{\"message\":\"A middleware error was encountered while trying to submit claim.\",\"field\":\"\"}]}"

 

Please find below full JSON.

{

"vendor": {

"practiceName": "xxx",

"hpiOrganisationNumber": "XXXXX",

"hpiFacilityNumber": "XXXXX"

},

"provider": {

"contact": {

"emailAddress": "example@example.com",

"homePhone": "00000",

"mobilePhone": "+64000000",

"workPhone": "00000"

},

"details": {

"providerId": "XXXXX",

"providerTypeCode": "80",

"firstName": "Gvadmin",

"surname": "Gv"

},

"address": {

"type": "Home",

"line1": " 10A Bower Avenue",

"suburb": "New Brighton",

"city": "Christchurch",

"postCode": "8083",

"country": "New zealand"

}

},

"patient": {

"address": {

"type": "Home",

"line1": "13 queen alexandra street",

"city": "Doyleston",

"postCode": "5810",

"country": "New Zealand"

},

"contact": {

 

},

"details": {

"firstName": "Test",

"surname": "Patient",

"nhi": "XXX0000",

"dateOfBirth": "1980-01-01",

"gender": "M",

"ethnicityCode": "53"

},

"occupationCode": "2411"

},

"employment": {

"employer": {

 

},

"inPaidEmployment": "False"

},

"injury": {

"accidentDate": "2018-03-08",

"accidentLocationCode": "308",

"accidentSceneCode": "10",

"causeOfAccident": "Moving motor vehicle",

"involvesVehicle": "False",

"medicalTreatmentInjury": "False",

"workInjury": "False",

"sportingInjury": "False",

"accContactProvider": "1",

"gradualProcessInjury": "False",

"admittedToHospital": "False"

},

"diagnosis": [

{

"diagnosisCodeType": "1",

"diagnosisCode": "225211008",

"diagnosisDescription": "Search procedure ",

"diagnosisSide": "right"

}

],

"workCapacity": {

 

},

"declaration": {

"providerDeclaration": "2018-03-08"

},

"claimNumber": "ZA00314"

}

Hi Sufian,

I have had a look into that error and then tried to do a claim submission myself into the compliance environment and have run into the same issue, so we do have an issue for all users of the compliance environment.

I have escalated this with our internal technical team who will now investigate and once this issue has been resolved then i will let you know via the forum and also send a message directly to your email.

Cheers


Thanks for your feedback Kaaran, as you know already that almost since past two weeks compliance environment is not available and we are thus unable to validate any changes made recently on request by ACC for the go live scheduled over the weekend.
​This is a serious risk for our customers, if any issue arises at the time of go live.

 


Hi Sufian,

We have resolved the issue with the compliance environment and you should now be able to submit your payload successfully.

Thank you for your feedback as well. We try to keep the compliance environment live so it can be accessed 24/7 so developers can test and develop their API solutions for their customers. There has been a number of issues in the last few weeks that have arisen in compliance and we hope that they wont be happening again.

Cheers

 


Thanks we can access the complaince environment now.


Great to hear. Please let us know if you run into any other issues.

Cheers


I am getting the same error: A middleware error was encountered while trying to submit claim

when posting to the change diagnosis end point

https://provider.api-compliance.acc.co.nz/api/v1/claims/change-diagnosis

request payload:

{
   "claimNumber":"Z*****",
   "declaration":{
      "providerDeclaration":"2018-05-02"
   },
   "diagnosis":[
      {
         "diagnosisAction":"add",
         "diagnosisCode":"S54z.",
         "diagnosisCodeType":"1",
         "diagnosisComment":"",
         "diagnosisDescription":"Leg sprain NOS",
         "diagnosisSide":"right",
         "primaryDiagnosisIndicator":"True"
      },
      {
         "diagnosisAction":"add",
         "diagnosisCode":"S5503",
         "diagnosisCodeType":"1",
         "diagnosisComment":"",
         "diagnosisDescription":"Distal tibiofibular sprain",
         "diagnosisSide":"right",
         "primaryDiagnosisIndicator":"False"
      }
   ],
   "patient":{
      "address":{
         "type":"Home",
         "line1":"*******",
         "line2":"",
         "suburb":"Favona",
         "city":"Auckland",
         "country":"New Zealand",
         "postCode":"2024"
      },
      "contact":{
         "emailAddress":"",
         "homePhone":"",
         "mobilePhone":"",
         "workPhone":"0946446"
      },
      "details":{
         "accidentDate":"2018-04-30",
         "dateOfBirth":"2016-02-29",
         "firstName":"Banana",
         "nhi":"",
         "surname":"Split"
      }
   },
   "provider":{
      "details":{
         "providerId":"*******",
         "providerTypeCode":"81",
         "firstName":"John",
         "middleName":"",
         "surname":"Doe"
      },
      "address":{
         "type":"Home",
         "line1":"*******",
         "line2":"",
         "suburb":"New Lynn",
         "city":"Auckland",
         "country":"New Zealand",
         "postCode":"0600"
      }
   },
   "vendor":{
      "practiceName":"Test Vendor",
      "hpiOrganisationNumber":"******",
      "hpiFacilityNumber":""
   }
}

 

 


Hi rclarke,

There is currently an issue with that service and so i am escalating this to the technical team. Once that has been fixed then i will let you know.

Kind regards


Hi rclarke,

Thank you for your patience. We have now fixed this issue and you will now be able to submit your payloads to that endpoint.

Cheers