Share via

GPT 5.4 in the deployment always responded with "I'm sorry, but I cannot assist with that request."

Xinyu He 5 Reputation points Microsoft Employee
2026-04-02T06:14:01.8766667+00:00

Everything works fine previously, but today the model responses with "I'm sorry, but I cannot assist with that request." even when user says "hi". There are no code changes or system prompt changes.

If this is an content filtering issue, can we disable it for all? Currently we still have to apply for 4 required by Microsoft.

Azure OpenAI Service
Azure OpenAI Service

An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.


1 answer

Sort by: Most helpful
  1. Manas Mohanty 16,105 Reputation points Microsoft External Staff Moderator
    2026-04-08T04:39:50.63+00:00

    Hi Xinyu He

    You can find co-relation id from SDK call.

    
    client = OpenAI(
        base_url=endpoint,
        api_key=api_key
    )
    
    # 🔹 Use with_raw_response to access headers
    response = client.chat.completions.with_raw_response.create(
        model=deployment_name,
        messages=[
            {
                "role": "user",
                "content": "What is the capital of France?"
            }
        ],
    )
    
    # ✅ Chat completion content
    completion = response.parse()
    print("Answer:", completion.choices[0].message.content)
    
    # ✅ HTTP headers (case-insensitive)
    headers = response.headers
    
    print("\n--- Azure OpenAI Request Metadata ---")
    print("APIM Request ID:", headers.get("apim-request-id"))
    print("Correlation ID:", headers.get("x-ms-correlation-request-id"))
    print("Request ID:", headers.get("x-request-id"))
    print("Region:", headers.get("x-ms-region"))
    print("Date:", headers.get("date"))
    
    

    Thank you for confirming that you were able to mitigate the issue by disabling web search tool.

    From the ICMs, Issue seems coming from Content filtering control plane, Severity threshold was set to high for content filters for GPT-5 series models.

    Thank you for your inputs.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.