i get this response { code: 404, message: { description: 'Not Found' } }
when i try to insert data
const options = {
username:"pinale",
token:"********mytoken********",
strict:false
};
const gitrows = new GitRows(options);
const path = '@github/pinale/gitrows/iris.json';
const data = [
{
id:"0003",
title:"A New Title",
content:"Some new content"
},
{
id:"0004",
title:"Another New Title"
}
];
gitrows.put(path,data)
.then(
response => console.log("SUCCESS", response)
).catch(
error => console.error("ERROR", error)
);
using the same path i'm able to read the data!
maybe is a permission issue? even if the message says 404 not found????
as note aside: i'm not able to use the online OpenAPI Editor (https://gitrows.com/openapi/) on my repo , i got this error when i try to commit the swagger specification: Unable to commit file. Do you have write access to pinale/gitrows?
i've autorized the app, there is something elsewhere to check/autorize?
i get this response
{ code: 404, message: { description: 'Not Found' } }when i try to insert data
using the same path i'm able to read the data!
maybe is a permission issue? even if the message says 404 not found????
as note aside: i'm not able to use the online OpenAPI Editor (https://gitrows.com/openapi/) on my repo , i got this error when i try to commit the swagger specification:
Unable to commit file. Do you have write access to pinale/gitrows?i've autorized the app, there is something elsewhere to check/autorize?