Error Assignment#5 TypeError

Hi there, i am getting an TypeError, from the postman console and not from the github repo, is that has something to do with my script or general structure of the code. Any suggestions thx.

Hey :wave:t2:

Is the url variable resolved correctly? As it’s returning a 404 it could be down to that.

i guess not sure

i am on the correct page, also is the api-key the same as in secrets and variables for github

The line above the error in the console, should show where the async request is going and if the URL is correct.

The first url looks healthy (201) then breaks into / other paths giving me a 404

It looks like the route is being appended twice in the async request which is causing a 404.

Can you share a link to your Public Workspace, please?

As an example, my solution looks like this:

Can you check that you haven’t also added the full URL to the {{githubProdjectUrl}} variable? Which I think you have by looking at the console output:

That would be the only thing that would cause it to double the path in the URL.

It should only look like this:

As per the documentation:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.