Data storage integration with meshed "Not Authorized"


(Dylan) #1

I have been following the posts that I have found on this issue as some people seem to have had the “Not Authorized” issue as well. I have watched the youtube video https://www.youtube.com/watch?v=kVf8GmCbOuE to help me through, and its meant to be a really simple process.

When I click the Go to platform link in the Data Storage integration I go to a blank page that simply say Not Authorised. I have the device set up on the https://console.thethings.meshed.com.au which may be where the problem lies.
I have tried typing the address that is meant to take me to the swagger link “myapplication.data.thethings.meshed.com.au” with no luck. I have also tried typing the link in the video with myapplication as per normal. Although I get the website as per the video, I get no connections to anything.

Has anyone had any experience/success working on the meshed console with data storage?

Cheers,

Dylan


(Andrew Maggio) #2

Hi Dylan. You are correct. There is an issue using the data storage integration on the Australian instance and we’re working on a solution to this. Either I or one of the TTN team will update this topic when we have some news.


(Dylan) #3

Ok good to hear your on the case. Thanks for the reply.


(Lanzones) #4

Hi,

Same issue… have we found a solution?
thanks…
Jose


(Dylan) #5

Has there been any progress on this, it’s incredibly annoying not having a simple data storage method on here.


(Chaolue) #6

You’ll need to use the meshed console. See Meshed-handler


(Dylan) #7

Thank you for the reply. I have been using the meshed-handler from the beginning, it was certainly a difficult one to figure out. Have you managed to get the data storage to work on the meshed-handler for AU? It is still not working for me.

This is the data storage URL I get to when I click on it in the integrations tab:
https://data.thethings.meshed.com.au/myapp/api/v2/query

Which still says:
Not authorized

This is my meshed-handler integrations url:
https://console.thethings.meshed.com.au/applications/myapp/integrations


(Chaolue) #8

Dylan,

The Meshed console doesn’t have the Swagger UI for viewing the storage integration online. You can use normal REST API to access it, see https://www.thethingsnetwork.org/docs/applications/storage/api.html.

For an example using curl:

curl -D- -X GET -H "Authorization: key ttn-account-v2.***********************" -H "Content-Type: application/json" "https://data.thethings.meshed.com.au/myapp/api/v2/devices"

You can see what devices are under the application, but checking my storage shows no data under these devices. So, it may be something that the meshed crew need to look into, if it is meant to be working at all, yet.

Maybe @Maj can update us on the progress…


(Andrew Maggio) #9

I don’t think this will get addressed before v3 is released. It’s something the TTN team would need to fix.