79419976

Date: 2025-02-07 06:53:45
Score: 0.5
Natty:
Report link

You're missing Authorization header with valid token in GetModelAssets function:

url = baseUrl & "/modeldata/" & urn & "/scan",

input = "{""families"": [ ""n"", ""z"" ], ""includeHistory"": false, ""skipArrays"":true}",
response = Web.Contents(
  url,
  [
    Headers = [#"Authorization" = "Bearer " & accessToken, #"Content-Type"="application/json"],
    Content = Text.ToBinary(input)
  ]
),

Every call to the Tandem REST API needs to be authenticated - see here.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jan Liska