Edward Stuart wrote: ↑Fri Nov 08, 2019 2:01 pm
I've followed the same details and have a slightly different error:
Code: Select all
{
"error": {
"code": "289",
"message": "TM1 Git failed to connect to remote. Reason: TM1 Git network connection failed."
}
}
This returns a 400 Bad Request Error
Thank you for your help Edward, you made me realize my PA version was wrong.
I'm embarrassed but turns out I was running Planning Analytics 2.0.4 on my test machine, and the git feature is only available on 2.0.7 and higher
But after updating it to 2.0.7 I got the same "289" error as you. Turns out we're supposed to
restart the
TM1 Server that we're trying to run the GitInit, after installing the certificates
After restarting the TM1 server, I was able to run GitInit successfully. Hope this works for you.
this is the response I got:
Code: Select all
Status: 201 Created
{
"@odata.context": "$metadata#ibm.tm1.api.v1.Git",
"URL": "https://github.com/Luiz/Teste.git",
"Deployment": "dev",
"DeployedCommit": {
"ID": null,
"Summary": null,
"Author": null
},
"Remote": {
"Connected": true,
"Branches": [],
"Tags": []
}
}
If anyone has any questions or doubts about this, I'm available
Gonna try the other git features now.