Question

GITHUB API: Posting an issue to private repository: 404 error

  • 6 November 2019
  • 1 reply
  • 9 views

HI there,

 

 

Just wondering if anyone has any experience interacting with the GitHub API on FME.

 

 

I'm trying to use an http caller to post a new issue to a Private repository, but get a 404 response body.

 

 

Get requests are fine with the authorisation headers i'm using:

 

Authorization: Bearer <my token>

Am I missing something obvious?

 

Thanks in advance,

1 reply

Badge +9

Hi @alexburnett,

I've done a bit of work using the GitHub API with FME. I ran a quick test using the HTTPCaller to confirm if I could use a POST request to create a new issue on a private repository and was able to do so successfully. Just to double check, what Request URL did you have configured within the HTTPCaller? The 404 error message would typically indicate a problem with the URL itself, so just wanted to rule that out as a possible reason for the error you are seeing.

In case it helps, here are the settings that I used when I tested this:

Reply