Select to view content in your preferred language

CSV Reader Parameters connect to Github private content

541
1
08-25-2022 10:41 AM
kmsmikrud
Frequent Contributor

Hello,

I am trying to connect to a csv thru web url hosted on a github site. The data is currently only available to members of the group.

For web connections, I do not see Github listed as an option, so what I have tried is the csv reader and I enter in the url and then within the parameters, I've selected 'Use Network Authentication' and provide my github credentials.

When the reader runs, the log gives errors "Please ensure that the file exists and you have sufficient privileges to read it."

If thru github I copy to the csv reader which includes the token the reader finds the data no problem, but the token is temporary and so this isn't a great method.

I feel like I'm just missing a setting somewhere.

Thanks in advance,

Kathy

0 Kudos
1 Reply
rsalvaleon_esri
Occasional Contributor

@kmsmikrud you need to create an OAuth app with GitHub to use Data Inerop to read from the repos you have permissions.

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/authorizing-oauth-app...

After you create your GitHub integration Oauth App, create your Web Connection in Data Interop following the help document.

https://docs.safe.com/fme/2022.0/html/DataInterop_Documentation/FME_Workbench/!NamedConnections/opti...

As an option, you may want to try FME Hub which has a Github web connection but it seems like some users may have some auth id issues.

https://hub.safe.com/publishers/donatsafe/web-connections/github

Hopefully, this will get you started. If additional help is needed please submit a case and we can help you further. Thanks.

0 Kudos