Stuck with REST api

@brocaar

/api/devices/{dev_eui}/frames

after addition of device_eui im left with the below result

{
“error”: {
“grpcCode”: 16,
“httpCode”: 401,
“message”: “authentication failed: get token from context error: no authorization-data in metadata”,
“httpStatus”: “Unauthorized”,
“details”: []
}
}

from the forum I got to know that it was due to jwt key so followed instruction

[/api/internal/login]

{
“iss”: “lora-app-server”,
“aud”: “lora-app-server”,
“nbf”: 1489566958,
“exp”: 1489653358,
“sub”: “user”,
“username”: “admin”,
“password”: “admin”
}

which generates:

{
“jwt”: “ZZZZZZZZZZZZZZZZNiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJsb3JhLWFwcC1zZXJ2ZXIiLCJleHAiOjE1Mzc5NzA4NDUsImlzcyI6ImxvcmEtYXBwLXNlcnZlciIsIm5iZiI6MTUzNzg4NDQ0NSwic3ViIjoidXNlciIsInVzZXJuYW1lIjoiYWRtaW4ifQ.N4hyZGsFgVMjNJsXmXPIr6oNp0iZZZZZZZZZZZZZZZZ”
}

So this is to be used at JWT token on the top of thus page.?
and Im left with this…

Can you please help me ?

There are already topics containing this question: https://forum.loraserver.io/search?q=get%20token%20from%20context%20error%3A%20no%20authorization-data%20in%20metadata. Please see if your question has been answered there, if not post your question there.