Forum Discussion

szepeviktor's avatar
szepeviktor
New Member
21 days ago

Last-Modified header is invalid: api.swaggerhub.com

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
    Humashankar
    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