TRN APIs - getJWTAuthJWT - 403 Forbidden if you don't provide Token (optional)

Just getting started with the APIs and hit an issue straight away trying the getJWTAuthJWT API. According to the documentation only the Ocp-Apim-Subscription-Key is required, and the Token is optional. But if I provide only the Ocp-Apim-Subscription-Key it returns 403 Unauthorized, but if I provide a Token (from https://adstrn.ukho.gov.uk/) with the same Ocp-Apim-Subscription-Key it works.

Attachments

Comments

  •  
    Good afternoon Looking at the screenshot you have left the Token blank, you should remove the Token header as leaving it blank is likley the issue (it thinks there should be a value as the header is present), please click remove header for the Token header and try the process again. Kind regards
    Posted by Hidden Mon, 21 Mar 2022 14:23:41 GMT
  •  
    The issue happens even if the header is removed. Also same issue happens using C# code sample.
    Posted by Hidden Mon, 21 Mar 2022 15:48:09 GMT


You're not signed in. Please sign-in to report an issue or post a comment.