# HTTP 500 error when trying to retrieve A&G worklist

**URL:** <https://developer.community.nhs.uk/t/http-500-error-when-trying-to-retrieve-a-g-worklist/8224>\
**Category:** e-Referral Service (e-RS)\
**Tags:** fhir\
**Created:** [17 October 2025 15:09 UTC](https://developer.community.nhs.uk/t/http-500-error-when-trying-to-retrieve-a-g-worklist/8224 "2025-10-17T15:09:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbutler](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@mbutler](https://developer.community.nhs.uk/u/mbutler)\
**Post date:** [17 October 2025 15:09 UTC](https://developer.community.nhs.uk/t/http-500-error-when-trying-to-retrieve-a-g-worklist/8224/1 "2025-10-17T15:09:02Z")

</div>

Hello,

We are trying to retrieve the A&G worklist for **TD008996 TEST TRUST 001** using the **Service Provider Clinician** role but we keep receiving a HTTP 500 error. This was working fine for a number of months.

**Extract from our logs:**

**2025-10-17 14:42:55.249 ERROR (ErsFhirClient2.java:961)[qtp917203417-191] - ERS FHIR API ‘A007: Retrieve advice and guidance requests worklist’ failed; HTTP 500**\*

Can someone take a look please?

Thanks,

Mike.

---

<div class="post-metadata">

**Author:** ![mbutler](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@mbutler](https://developer.community.nhs.uk/u/mbutler)\
**Post date:** [17 October 2025 15:09 UTC](https://developer.community.nhs.uk/t/http-500-error-when-trying-to-retrieve-a-g-worklist/8224/2 "2025-10-17T15:09:39Z")

</div>

Additional:

**2025-10-17 14:42:55.249 ERROR (FhirClient.java:308)[qtp917203417-191] - Error response. No payload. HTTP 500. 255ms**\*

- 

2025-10-17 14:42:55.249 DEBUG (FhirClient.java:309)[qtp917203417-191] - Response msg

HTTP/1.1 500  
Date: Fri, 17 Oct 2025 13:42:55 GMT  
Content-Length: 0  
Connection: keep-alive  
X-Content-Type-Options: nosniff  
X-XSS-Protection: 0  
Cache-Control: no-cache, no-store, max-age=0, must-revalidate  
Pragma: no-cache  
Expires: 0  
X-Frame-Options: DENY  
Strict-Transport-Security: max-age=31536000; includeSubDomains  
X-Request-ID: 5d1fa11d-8e53-409b-be2d-422ce562cb96-1  
X-Correlation-ID: 32aa2af0-e2af-4582-9dc9-d558293873f5

---

<div class="post-metadata">

**Author:** ![BalalSaleh](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@BalalSaleh](https://developer.community.nhs.uk/u/BalalSaleh)\
**Post date:** [24 October 2025 14:01 UTC](https://developer.community.nhs.uk/t/http-500-error-when-trying-to-retrieve-a-g-worklist/8224/3 "2025-10-24T14:01:07Z")

</div>

Hi Michael,

Can you please confirm if this is still an issue that you are facing?

Thanks,  
Balal

---

<div class="post-metadata">

**Author:** ![mbutler](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@mbutler](https://developer.community.nhs.uk/u/mbutler)\
**Post date:** [27 October 2025 16:50 UTC](https://developer.community.nhs.uk/t/http-500-error-when-trying-to-retrieve-a-g-worklist/8224/4 "2025-10-27T16:50:08Z")

</div>

This has been resolved by going into 2 A&G’s in the worklist and saving them. The data somehow got corrupt.
