Forum Discussion

szepeviktor's avatar
New Member
2 months ago

Last-Modified header is invalid:

Last-Modified: Wed, 10 Apr 2024 07:12:30 UTC

but the format is

Last-Modified: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT

Please consider changing UTC to GMT.

Thank you.


1 Reply

  • Humashankar's avatar
    Champion Level 0

    Hi szepeviktor 

    You are right !!

    The "Last-Modified" header you've encountered appears to be invalid.

    The header specifies UTC (Coordinated Universal Time) instead of GMT (Greenwich Mean Time).

    While they are very similar, some tools might expect the traditional GMT format.


    Ø  Try with this format and this should work for you

    Ø  Last-Modified: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT

    Upon trying this - If the API or data retrieval from SwaggerHub is functioning normally, you can likely disregard this warning. The time difference between UTC and GMT is usually minor.

    If you're experiencing issues fetching data or using the API due to this error, consider reporting it to SwaggerHub support.


    Hope this helps - Happy to help further!!
    Thank you very much and have a great one!

    Warm regards